Skip to content

Commit 0a201b0

Browse files
committed
Fixed 'width' and 'containerCss' incompatibility. fixes select2#828
1 parent 69d4e08 commit 0a201b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1470,7 +1470,7 @@ the specific language governing permissions and limitations under the Apache Lic
14701470

14711471
var width = resolveContainerWidth.call(this);
14721472
if (width !== null) {
1473-
this.container.css({"style": "width: "+width});
1473+
this.container.css("width", width);
14741474
}
14751475
}
14761476
});

0 commit comments

Comments
 (0)