Skip to content

Commit 654d1bd

Browse files
committed
exposed open/close as public. issue select2#27
1 parent 578a8cb commit 654d1bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@
13791379
var args = Array.prototype.slice.call(arguments, 0),
13801380
opts,
13811381
select2,
1382-
value, multiple, allowedMethods = ["val", "destroy"];
1382+
value, multiple, allowedMethods = ["val", "destroy", "open", "close"];
13831383

13841384
this.each(function () {
13851385
if (args.length === 0 || typeof(args[0]) === "object") {

0 commit comments

Comments
 (0)