1
0
Fork 0
mirror of synced 2025-04-06 14:43:37 +03:00

exposed open/close as public. issue

This commit is contained in:
Igor Vaynberg 2012-04-13 08:18:05 -07:00
parent 578a8cb0da
commit 654d1bd3b2

View file

@ -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") {