From 12e69ce13dde67fbe4851b85bf50c1b21a5788e1 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 23 Jun 2013 06:22:46 -0400
Subject: [PATCH] Fix lack of space between searchfiler and quicksearchbar in Larry skin (#1489158)

---
 skins/larry/ui.js |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 38d8539..ccc9cef 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -221,6 +221,7 @@
       }
 
       var select = $(this),
+        parent = select.parent(),
         height = Math.max(select.height(), 26) - 2,
         width = select.width() - 22,
         title = $('option', this).first().text();
@@ -235,18 +236,15 @@
 
       overlay.children().width(width).height(height).css('line-height', (height - 1) + 'px');
 
-      select.change(function() {
-          var val = $('option:selected', this).text();
-          $(this).next().children().html(val);
-        });
-
-      var parent = select.parent();
       if (parent.css('position') != 'absolute')
         parent.css('position', 'relative');
 
       // re-set original select width to fix click action and options width in some browsers
-      if (!bw.mz)
-        select.width(overlay.width());
+      select.width(overlay.width())
+        .change(function() {
+          var val = $('option:selected', this).text();
+          $(this).next().children().text(val);
+        });
     });
 
     $(document.body)

--
Gitblit v1.9.1