| Index: html/static/js/ieEventListenerPolyfill.js |
| =================================================================== |
| --- a/html/static/js/ieEventListenerPolyfill.js |
| +++ b/html/static/js/ieEventListenerPolyfill.js |
| @@ -13,3 +13,13 @@ |
| this.detachEvent("on" + type, handler) |
| }; |
| } |
| + |
| +if (typeof Element.prototype.addEventListener != "function") |
| +{ |
| + Element.prototype.addEventListener = window.addEventListener; |
|
Oleksandr
2014/08/08 14:19:34
Looks like we've tried every combination now :)
Felix Dahlke
2014/08/08 14:21:12
Yes, I like this one best :)
|
| +} |
| + |
| +if (typeof Element.prototype.removeEventListener != "function") |
| +{ |
| + Element.prototype.removeEventListener = window.removeEventListener; |
| +} |