From 64d7b5d4efae46803a45c4f7d3ea9df54d087d2f Mon Sep 17 00:00:00 2001 From: Thomas BrĂ¼derli Date: Tue, 19 Aug 2008 13:08:23 +0000 Subject: Don't rely on timeouts, let it_boot_init() reset the sequence string --- itjs/boot.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'itjs') 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); } -- cgit v1.2.3