Fixed the attribution for the DOM Ready fix - the previously used changes weren't significant.

This commit is contained in:
John Resig 2007-09-27 20:49:30 +00:00
parent ee2efbe1e3
commit 1344a7fd50

View file

@ -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();