runOnloadHook is now only called from wikibits. Remove old comment
authorMatthew Flaschen <mflaschen@wikimedia.org>
Sun, 30 Jun 2013 02:04:17 +0000 (22:04 -0400)
committerMattflaschen <mflaschen@wikimedia.org>
Sun, 30 Jun 2013 02:42:16 +0000 (02:42 +0000)
Change-Id: I01ad82b5ab6a0e006001b5b5073f57758cb20502

skins/common/wikibits.js

index 8c01ba3..488c37d 100644 (file)
@@ -492,8 +492,6 @@ window.removeHandler = function( element, remove, handler ) {
                element.detachEvent( 'on' + remove, handler );
        }
 };
-// note: all skins should call runOnloadHook() at the end of html output,
-//      so the below should be redundant. It's there just in case.
 window.hookEvent( 'load', window.runOnloadHook );
 
 if ( isIE6 ) {