Commit a7219599 authored by Julien Cigar's avatar Julien Cigar
Browse files
parents 3cdcc2d6 4f3d9b81
...@@ -362,7 +362,8 @@ ...@@ -362,7 +362,8 @@
el.addEventListener(type, listener, capture); el.addEventListener(type, listener, capture);
} else if (el.attachEvent) { } else if (el.attachEvent) {
/* In IE events always bubble, no capturing possibility. */ /* In IE events always bubble, no capturing possibility. */
//el.attachEvent('on' + type, listener); el.attachEvent('on' + type, listener);
/*
var _type = 'on' + type; var _type = 'on' + type;
if (el[_type] === null) { if (el[_type] === null) {
...@@ -372,6 +373,7 @@ ...@@ -372,6 +373,7 @@
el[_type](); listener(); el[_type](); listener();
} }
} }
*/
} else { } else {
; ;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment