summaryrefslogtreecommitdiff
path: root/itjs
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2008-08-19 13:08:23 +0000
committerThomas BrĂ¼derli2008-08-19 13:08:23 +0000
commit64d7b5d4efae46803a45c4f7d3ea9df54d087d2f (patch)
tree99f20fdd3399132f19ebe689b9ca509e1654d161 /itjs
parentd493b8420304c00a5d614610b8589427a32baa5e (diff)
downloaditools-64d7b5d4efae46803a45c4f7d3ea9df54d087d2f.tar.gz
itools-64d7b5d4efae46803a45c4f7d3ea9df54d087d2f.tar.bz2
itools-64d7b5d4efae46803a45c4f7d3ea9df54d087d2f.zip
Don't rely on timeouts, let it_boot_init() reset the sequence string
Diffstat (limited to 'itjs')
-rw-r--r--itjs/boot.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/itjs/boot.js b/itjs/boot.js
index cab563f..eb697dd 100644
--- a/itjs/boot.js
+++ b/itjs/boot.js
@@ -69,6 +69,7 @@ function it_boot_checkcss(style, key, value)
function it_boot_init()
{
+ it_boot.sequence += "i";
window.it_domtimer = null;
var konqueror = navigator.userAgent.match(/konqueror/i);
var doc = document;
@@ -88,7 +89,6 @@ function it_boot_init()
return;
}
- it_boot.sequence += "i";
window.clearTimeout(window.it_panictimer);
window.it_boot_start();
it_boot.sequence = "";
@@ -170,6 +170,4 @@ function it_boot(file, isretry)
else
window.it_domtimer = window.setTimeout("it_boot('" + file + "')" , 42);
}
-
- window.setTimeout(function(){ it_boot.sequence=''; }, 10);
}