From aea43bbcd1a3671bb0b1292cea6eb145d70a5be7 Mon Sep 17 00:00:00 2001 From: mcramer Date: Tue, 9 Oct 2012 12:12:54 +0000 Subject: [PATCH] Bugfix: select box width in chrome --- interface/web/js/jquery.tipsy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/web/js/jquery.tipsy.js b/interface/web/js/jquery.tipsy.js index fb7bc36075..e6f6600f6e 100644 --- a/interface/web/js/jquery.tipsy.js +++ b/interface/web/js/jquery.tipsy.js @@ -260,7 +260,7 @@ .appendTo( wrapper ) .val( value ) .addClass( "ui-state-default ui-combobox-input" ) - .css( { "width": elwidth - 15, "height": elheight }) + .css( { "width": (elwidth > 15 ? elwidth - 15 : 1), "height": elheight }) .autocomplete({ delay: 0, minLength: 0, -- GitLab