Skip to content
Permalink
Browse files

Backing out commit 81bfd9b, read the ticket incorrectly - and seeing …

…some of the other earlier tickets it's obvious that a more generic solution is needed. Thanks jdalton for the catch.
  • Loading branch information
jeresig committed Nov 9, 2009
1 parent 4fd730d commit 24e18d4cae4a1cb1a77323fd2e99300508e55642
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
@@ -838,7 +838,7 @@ function bindReady() {
// maybe late but safe also for iframes
document.attachEvent("onreadystatechange", function() {
// Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
if ( document.readyState === "complete" && document.body ) {
if ( document.readyState === "complete" ) {
document.detachEvent( "onreadystatechange", arguments.callee );
jQuery.ready();
}

0 comments on commit 24e18d4

Please sign in to comment.
You can’t perform that action at this time.