From e1e1ddf7a673c4302a58ec3b55b745b6fd99add7 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 15 Jan 2007 00:02:45 +0000 Subject: [PATCH] DO NOT LEAVE ALERT() IN CODE *twitch* --- skins/common/wikibits.js | 5 ----- 1 file changed, 5 deletions(-) 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, -- 2.20.1