Fix bug where editor height is very small When editing a note attached to email (#4600)
This commit is contained in:
parent
a7af7a9b81
commit
1a4562ff04
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ $(document).ready(function(e){
|
||||||
|
|
||||||
// fixes issue when toolbar is not ready yet and content
|
// fixes issue when toolbar is not ready yet and content
|
||||||
// area height is set to 0, wait and try again later...
|
// area height is set to 0, wait and try again later...
|
||||||
if (h < 0)
|
if (h < 40)
|
||||||
setTimeout(function() { layout_view(); }, 100);
|
setTimeout(function() { layout_view(); }, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue