Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit b2ce33a

Browse files
Fixing attachevent.js
1 parent eca216f commit b2ce33a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ready.compat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
root.removeEventListener( "load", handler, false );
1919
};
2020
} else if (document.attachEvent) {
21-
document.attachEvent( "onDOMContentLoaded", handler, false );
22-
root.attachEvent( "onload", handler, false );
21+
document.attachEvent( "onDOMContentLoaded", handler );
22+
root.attachEvent( "onload", handler );
2323
return function () {
2424
document.attachEvent( "DOMContentLoaded", handler );
2525
root.attachEvent( "load", handler );

0 commit comments

Comments
 (0)