diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-26 12:28:04 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-26 12:28:04 +0000 |
| commit | 32107a13953dff6bf8fdbe8ff15a6b9604eccc27 (patch) | |
| tree | 1e3fc5b5fa11cf02e53db552401998163c991308 /roundcubemail/skins/default/functions.js | |
| parent | 031c08be6f8052a14bbe0b0b02410d15373995e1 (diff) | |
Tweak default skin with better icons (sprites) and move IE hacks to an external file included by conditional comments
git-svn-id: https://svn.roundcube.net/trunk@2541 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/skins/default/functions.js')
| -rw-r--r-- | roundcubemail/skins/default/functions.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/roundcubemail/skins/default/functions.js b/roundcubemail/skins/default/functions.js index 7425a1e6f..bc9a486d7 100644 --- a/roundcubemail/skins/default/functions.js +++ b/roundcubemail/skins/default/functions.js @@ -145,10 +145,9 @@ show_messagemenu: function(show) show = this.messagemenu.is(':visible') ? false : true; var ref = rcube_find_object('messagemenulink'); - if (show && ref) { - var pos = $(ref).offset(); - this.messagemenu.css({ left:pos.left, top:(pos.top + ref.offsetHeight) }); - } + if (show && ref) + this.messagemenu.css({ left:ref.offsetLeft, top:(ref.offsetTop + ref.offsetHeight) }); + this.messagemenu[show?'show':'hide'](); }, |
