提交 b4dce9b7 编写于 作者: C Catouse

* fix chosen options merge error.

上级 f8734169
...@@ -180,7 +180,7 @@ MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md ...@@ -180,7 +180,7 @@ MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
AbstractChosen = (function() { AbstractChosen = (function() {
function AbstractChosen(form_field, options) { function AbstractChosen(form_field, options) {
this.form_field = form_field; this.form_field = form_field;
this.options = $.extend(DEFAULTS, options != null ? options : {}); this.options = $.extend({}, DEFAULTS, options != null ? options : {});
if(!AbstractChosen.browser_is_supported()) { if(!AbstractChosen.browser_is_supported()) {
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册