DO NOT LEAVE ALERT() IN CODE *twitch*
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 15 Jan 2007 00:02:45 +0000 (00:02 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 15 Jan 2007 00:02:45 +0000 (00:02 +0000)
skins/common/wikibits.js

index 4486c01..d295ee4 100644 (file)
@@ -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,