reverting r93783 - got the case of the variable name wrong
[lhc/web/wiklou.git] / resources / mediawiki / mediawiki.js
index 0ce0f4b..b882c88 100644 (file)
@@ -1273,7 +1273,7 @@ window.mw = window.mediaWiki = new ( function( $ ) {
 window.$j = jQuery;
 
 // Auto-register from pre-loaded startup scripts
-if ( typeof startup !== 'undefined' && jQuery.isFunction( startUp ) ) {
+if ( jQuery.isFunction( startUp ) ) {
        startUp();
        delete startUp;
 }