From 1344a7fd503054299442c3463a0e311729f8229a Mon Sep 17 00:00:00 2001 From: John Resig Date: Thu, 27 Sep 2007 20:49:30 +0000 Subject: [PATCH] Fixed the attribution for the DOM Ready fix - the previously used changes weren't significant. --- src/event.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event.js b/src/event.js index 919dbf8..99778f8 100644 --- a/src/event.js +++ b/src/event.js @@ -433,10 +433,10 @@ function bindReady(){ // Continually check to see if the document is ready (function timer() { try { - // If IE is used, use the excellent hack by Hedger Wang and Andrea Giammarchi - // http://www.3site.eu/jstests/onContent/DOMReadyAnddoScroll.php + // If IE is used, use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ if ( jQuery.browser.msie || document.readyState != "loaded" && document.readyState != "complete" ) - document.firstChild.doScroll("left"); + document.documentElement.doScroll("left"); // and execute any waiting functions jQuery.ready(); -- 1.7.10.4