aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index f1feb702f..3fcc9e46c 100644
--- a/src/core.js
+++ b/src/core.js
@@ -866,7 +866,7 @@ jQuery.ready.promise = function( object ) {
window.addEventListener( "load", jQuery.ready, false );
// If IE event model is used
- } else if ( document.attachEvent ) {
+ } else {
// ensure firing before onload,
// maybe late but safe also for iframes
document.attachEvent( "onreadystatechange", DOMContentLoaded );