diff --git a/src/js/jquery.select2.js b/src/js/jquery.select2.js index b087c94b..8b578fc1 100644 --- a/src/js/jquery.select2.js +++ b/src/js/jquery.select2.js @@ -17,7 +17,7 @@ define([ if (typeof options === 'object') { this.each(function () { - var instanceOptions = $.extend({}, options, true); + var instanceOptions = $.extend(true, {}, options); var instance = new Select2($(this), instanceOptions); });