ソースを参照

change addEventListener not fired in IE11 fix #1310

Robin Herbots 9 年 前
コミット
5daf70e8cb
2 ファイル変更2 行追加1 行削除
  1. 1 0
      CHANGELOG.md
  2. 1 1
      extra/dependencyLibs/inputmask.dependencyLib.js

+ 1 - 0
CHANGELOG.md

@@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file.
 	- use selective caching in getTests
 
 ### Fixed
+- change addEventListener not fired in IE11 #1310 - inputmask.dependencyLib.js
 - Hide mask's items that have multiple options #678
 - Bug when typing after a fixed character #1299
 - onUnMask is not being called #1291

+ 1 - 1
extra/dependencyLibs/inputmask.dependencyLib.js

@@ -219,7 +219,7 @@
 								evnt = new CustomEvent(ev, params);
 							} catch (e) {
 								evnt = document.createEvent("CustomEvent");
-								evnt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
+								evnt.initCustomEvent(ev, params.bubbles, params.cancelable, params.detail);
 							}
 							if (events.type) DependencyLib.extend(evnt, events);
 							elem.dispatchEvent(evnt);