1
0
mirror of synced 2025-03-10 22:56:12 +03:00

exposed open/close as public. issue #27

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