diff --git a/src/js/select2/core.js b/src/js/select2/core.js index 65410ac4..f3776c8d 100644 --- a/src/js/select2/core.js +++ b/src/js/select2/core.js @@ -444,7 +444,8 @@ define([ this._observer.disconnect(); this._observer = null; } else if (this.$element[0].removeEventListener) { - this.$element[0].removeEventListener('DOMAttrModified', this._sync, false); + this.$element[0] + .removeEventListener('DOMAttrModified', this._sync, false); } this._sync = null;