Index: branches/resourceloader/phase3/includes/OutputPage.php |
— | — | @@ -2367,7 +2367,7 @@ |
2368 | 2368 | } |
2369 | 2369 | $scripts .= "\n" . $this->mScripts; |
2370 | 2370 | // This should be at the bottom of the body - below ALL other scripts |
2371 | | - $scripts .= Html::inlineScript( 'mediaWiki.loader.go();' ); |
| 2371 | + $scripts .= Html::inlineScript( "if ( typeof mediaWiki.loader.go === 'function' ) { mediaWiki.loader.go(); }" ); |
2372 | 2372 | return $scripts; |
2373 | 2373 | } |
2374 | 2374 | |