From a9552631b5eeb61e5e1aa9c78764fdd76e726505 Mon Sep 17 00:00:00 2001 From: Patrick Filler Date: Tue, 28 Jun 2011 16:02:21 -0400 Subject: [PATCH] Updating search width for single chosen (should expand entire width of container). --- chosen/chosen.proto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chosen/chosen.proto.js b/chosen/chosen.proto.js index ebfa162..6ff1e77 100644 --- a/chosen/chosen.proto.js +++ b/chosen/chosen.proto.js @@ -96,7 +96,7 @@ Chosen.prototype = { if( !this.is_multiple ){ this.search_container = this.container.down('div.chzn-search'); this.selected_item = this.container.down('.chzn-single'); - var sf_width = (dd_width - get_side_border_padding(this.search_container) - get_side_border_padding(this.search_field)); + var sf_width = (dd_width - get_side_border_padding(this.search_container)); this.search_field.setStyle( {"width" : sf_width + "px"} ); } else{