From: Aryeh Gregor Date: Mon, 15 Jan 2007 00:02:45 +0000 (+0000) Subject: DO NOT LEAVE ALERT() IN CODE *twitch* X-Git-Tag: 1.31.0-rc.0~54396 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=e1e1ddf7a673c4302a58ec3b55b745b6fd99add7;p=lhc%2Fweb%2Fwiklou.git DO NOT LEAVE ALERT() IN CODE *twitch* --- diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 4486c01c80..d295ee46c1 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -1002,8 +1002,6 @@ function runOnloadHook() { return; } - var startTime = new Date().getTime(); - // set this before running any hooks, since any errors below // might cause the function to terminate prematurely doneOnloadHook = true; @@ -1021,9 +1019,6 @@ function runOnloadHook() { for (var i = 0; i < onloadFuncts.length; i++) { onloadFuncts[i](); } - - var endTime = new Date().getTime(); - alert( endTime - startTime ); } //note: all skins should call runOnloadHook() at the end of html output,