Просмотр исходного кода

exposed open/close as public. issue #27

Igor Vaynberg 13 лет назад
Родитель
Сommit
654d1bd3b2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -1379,7 +1379,7 @@
         var args = Array.prototype.slice.call(arguments, 0),
             opts,
             select2,
-            value, multiple, allowedMethods = ["val", "destroy"];
+            value, multiple, allowedMethods = ["val", "destroy", "open", "close"];
 
         this.each(function () {
             if (args.length === 0 || typeof(args[0]) === "object") {