Fix bug where editor height is very small When editing a note attached to email (#4600)

This commit is contained in:
Aleksander Machniak 2016-02-15 16:02:18 +01:00
parent a7af7a9b81
commit 1a4562ff04

View file

@ -50,7 +50,7 @@ $(document).ready(function(e){
// fixes issue when toolbar is not ready yet and content
// area height is set to 0, wait and try again later...
if (h < 0)
if (h < 40)
setTimeout(function() { layout_view(); }, 100);
}