diff --git a/select2.js b/select2.js index 45906ff7..5d9c71d4 100644 --- a/select2.js +++ b/select2.js @@ -3185,7 +3185,7 @@ the specific language governing permissions and limitations under the Apache Lic if ("tags" in opts) {opts.multiple = multiple = true;} } - select2 = multiple ? new window.Select2["class"].multi() : window.Select2["class"].single(); + select2 = multiple ? new window.Select2["class"].multi() : new window.Select2["class"].single(); select2.init(opts); } else if (typeof(args[0]) === "string") {