From 69d4e0896d09855212685440d0322741569d90bb Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Fri, 8 Feb 2013 09:34:09 -0800 Subject: [PATCH] Fixed 'width' and 'containerCss' incompatibility. fixes #828 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index a135d424..1908d493 100644 --- a/select2.js +++ b/select2.js @@ -1470,7 +1470,7 @@ the specific language governing permissions and limitations under the Apache Lic var width = resolveContainerWidth.call(this); if (width !== null) { - this.container.attr("style", "width: "+width); + this.container.css({"style": "width: "+width}); } } });