浏览代码

Fixed 'width' and 'containerCss' incompatibility. fixes #828

Igor Vaynberg 12 年之前
父节点
当前提交
0a201b07a5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      select2.js

+ 1 - 1
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.css({"style": "width: "+width});
+                this.container.css("width", width);
             }
         }
     });