소스 검색

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);
             }
         }
     });