Fixes and issue where If args are not present script terminates
This commit is contained in:
parent
8ad8f200ba
commit
f3a29b87e1
4
src/js/select2/core.js
vendored
4
src/js/select2/core.js
vendored
@ -357,6 +357,10 @@ define([
|
||||
'select': 'selecting',
|
||||
'unselect': 'unselecting'
|
||||
};
|
||||
|
||||
if (args === undefined) {
|
||||
args = {};
|
||||
}
|
||||
|
||||
if (name in preTriggerMap) {
|
||||
var preTriggerName = preTriggerMap[name];
|
||||
|
Loading…
Reference in New Issue
Block a user