summaryrefslogtreecommitdiff
path: root/skins/default/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'skins/default/functions.js')
-rw-r--r--skins/default/functions.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js
index 6d0641d51..ca4c6694b 100644
--- a/skins/default/functions.js
+++ b/skins/default/functions.js
@@ -113,6 +113,11 @@ function rcmail_init_compose_form()
var form = rcube_find_object('form');
form.onkeydown = function (e) { if (rcube_event.get_keycode(e) == 27) rcube_event.cancel(e); };
}
+
+ // fix editor position on some browsers
+ var div = document.getElementById('compose-div');
+ var headers_div = document.getElementById('compose-headers-div');
+ div.style.top = parseInt(headers_div.offsetHeight, 10) + 'px';
}
/**