diff --git a/src/js/select2/core.js b/src/js/select2/core.js index be866a19..af48de5e 100644 --- a/src/js/select2/core.js +++ b/src/js/select2/core.js @@ -357,6 +357,10 @@ define([ 'select': 'selecting', 'unselect': 'unselecting' }; + + if (args === undefined) { + args = {}; + } if (name in preTriggerMap) { var preTriggerName = preTriggerMap[name];