From 798270f46a0d32ec7c70d0051772e978b89f0295 Mon Sep 17 00:00:00 2001 From: Eliazer Date: Tue, 29 Jun 2010 07:21:15 -0700 Subject: [PATCH 1/2] This line checks if IE is ready by checking the documentElement.doScroll method. so how about saving a character and changing "left" with "top" this will save us full 8-bit's :) --- src/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.js b/src/core.js index e1a3a6df25..34188908f1 100644 --- a/src/core.js +++ b/src/core.js @@ -804,7 +804,7 @@ function doScrollCheck() { try { // If IE is used, use the trick by Diego Perini // http://javascript.nwbox.com/IEContentLoaded/ - document.documentElement.doScroll("left"); + document.documentElement.doScroll("top"); } catch(e) { setTimeout( doScrollCheck, 1 ); return; From 01d29ba9b7b23850a32f828c591ab184f29f90a9 Mon Sep 17 00:00:00 2001 From: Eliazer Date: Mon, 5 Jul 2010 10:38:26 -0400 Subject: [PATCH 2/2] commented changes --- src/core.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core.js b/src/core.js index 34188908f1..4b6578fd36 100644 --- a/src/core.js +++ b/src/core.js @@ -804,6 +804,7 @@ function doScrollCheck() { try { // If IE is used, use the trick by Diego Perini // http://javascript.nwbox.com/IEContentLoaded/ + // changed to top document.documentElement.doScroll("top"); } catch(e) { setTimeout( doScrollCheck, 1 );