Skip to content
Permalink
Browse files
Fixed the attribution for the DOM Ready fix - the previously used cha…
…nges weren't significant.
  • Loading branch information
jeresig committed Sep 27, 2007
1 parent ee2efbe commit 1344a7fd503054299442c3463a0e311729f8229a
Showing 1 changed file with 3 additions and 3 deletions.
@@ -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();

0 comments on commit 1344a7f

Please sign in to comment.