Преглед на файлове

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