X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fevent%2Fevent.js;h=34d530a6c19717f8d7539551273a0ecedc0fbec6;hb=7448c61ee2199f6f7002e33e533cebc42b000c89;hp=07126cea33f3ffb658cc0bbeae9df1442184141c;hpb=61aab47bcf4c35d021a88d95b7a17643d1342596;p=jquery.git diff --git a/src/event/event.js b/src/event/event.js index 07126ce..34d530a 100644 --- a/src/event/event.js +++ b/src/event/event.js @@ -1657,9 +1657,9 @@ new function(){ jQuery.ready(); } }, 10); - } else { - // A fallback to window.onload, that will always work - jQuery.event.add( window, "load", jQuery.ready ); - } + } + + // A fallback to window.onload, that will always work + jQuery.event.add( window, "load", jQuery.ready ); };