@ -65,6 +65,9 @@ function rcube_elastic_ui()
// Initialize menu dropdowns
dropdowns_init();
// Update layout after some initialization
resize();
// Setup various UI elements
setup();
@ -200,8 +203,6 @@ function rcube_elastic_ui()
env.resize_timeout = setTimeout(function() { resize(); }, 25);
});
rcmail
.addEventListener('message', message_displayed)
.addEventListener('menu-open', menu_toggle)