mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-08 08:52:19 +02:00
Housekeeping
This commit is contained in:
parent
3b7e49dadb
commit
6261962caf
|
@ -269,10 +269,8 @@ class Choices {
|
||||||
this._addEventListeners();
|
this._addEventListeners();
|
||||||
|
|
||||||
// Run callback if it is a function
|
// Run callback if it is a function
|
||||||
if (callback) {
|
if (callback && isType('Function', callback)) {
|
||||||
if (isType('Function', callback)) {
|
callback.call(this);
|
||||||
callback.call(this);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue