Commit 1344a7fd authored by John Resig's avatar John Resig

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

parent ee2efbe1
...@@ -433,10 +433,10 @@ function bindReady(){ ...@@ -433,10 +433,10 @@ function bindReady(){
// Continually check to see if the document is ready // Continually check to see if the document is ready
(function timer() { (function timer() {
try { try {
// If IE is used, use the excellent hack by Hedger Wang and Andrea Giammarchi // If IE is used, use the trick by Diego Perini
// http://www.3site.eu/jstests/onContent/DOMReadyAnddoScroll.php // http://javascript.nwbox.com/IEContentLoaded/
if ( jQuery.browser.msie || document.readyState != "loaded" && document.readyState != "complete" ) if ( jQuery.browser.msie || document.readyState != "loaded" && document.readyState != "complete" )
document.firstChild.doScroll("left"); document.documentElement.doScroll("left");
// and execute any waiting functions // and execute any waiting functions
jQuery.ready(); jQuery.ready();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment