From 986317df6b649b3f5d77938cae7eeb16945dcf16 Mon Sep 17 00:00:00 2001 From: Ryan Lane Date: Thu, 22 Aug 2013 16:38:34 -0700 Subject: [PATCH] jquery.chosen: set default text width to auto Rather than hardcoding the default text width to 25px, set the default to auto, so that when using width: auto for the chosen container an empty input won't be 25px. Change-Id: I694daa263f921c9e5a0490519af352d173fb4c9d --- resources/jquery.chosen/chosen.jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/jquery.chosen/chosen.jquery.js b/resources/jquery.chosen/chosen.jquery.js index a240ebd456..745174f768 100644 --- a/resources/jquery.chosen/chosen.jquery.js +++ b/resources/jquery.chosen/chosen.jquery.js @@ -391,7 +391,7 @@ Copyright (c) 2011 by Harvest }; this.container = $("
", container_props); if (this.is_multiple) { - this.container.html('
    '); + this.container.html('
      '); } else { this.container.html('' + this.default_text + '
        '); } -- 2.20.1