From aea43bbcd1a3671bb0b1292cea6eb145d70a5be7 Mon Sep 17 00:00:00 2001 From: mcramer <m.cramer@pixcept.de> Date: Tue, 09 Oct 2012 08:12:54 -0400 Subject: [PATCH] Bugfix: select box width in chrome --- interface/web/js/jquery.tipsy.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/js/jquery.tipsy.js b/interface/web/js/jquery.tipsy.js index fb7bc36..e6f6600 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, -- Gitblit v1.9.1