diff options
author | alecpl <alec@alec.pl> | 2010-03-24 21:06:07 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-03-24 21:06:07 +0000 |
commit | 39f9d39c3f88a813a44cc31b420c048f5e8c5f93 (patch) | |
tree | 800c2565ce56de36bc64b2f24bd69a4aed7f3c49 /skins/default/functions.js | |
parent | 13540e089cfe6b2a604559463fc50cab97f7f5e7 (diff) |
- use less styling on select fields
Diffstat (limited to 'skins/default/functions.js')
-rw-r--r-- | skins/default/functions.js | 5 |
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'; } /** |