]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Fix IE menu position.
authorChris Porter <redacted>
Mon, 2 Feb 2009 01:21:26 +0000 (01:21 +0000)
committerChris Porter <redacted>
Mon, 2 Feb 2009 01:21:26 +0000 (01:21 +0000)
js/ui/frontends/qui.js

index fe8ef71e3c8a77e3bfe073efb81911ea4798cb9a..4b8d697a183fa9591cdb30dceab8c36dbfd489e9 100644 (file)
@@ -100,10 +100,10 @@ qwebirc.ui.QUI = new Class({
       var top = x.client.y;
       */
       /* -1 == border */
-      var top = this.tabs.getSize().y;
+      var top = this.lines.getCoordinates().top;
         
       dropdownMenu.setStyle("left", 0);
-      dropdownMenu.setStyle("top", top);
+      dropdownMenu.setStyle("top", top-1); /* -1 == top border */
       dropdownMenu.setStyle("display", "inline-block");
       dropdownMenu.visible = true;
     }.bind(this);