Index: trunk/extensions/LiquidThreads/jquery/js2.combined.js |
— | — | @@ -7870,6 +7870,6 @@ |
7871 | 7871 | * Provides js2 compatible onload hook |
7872 | 7872 | * @param func Function to call when ready |
7873 | 7873 | */ |
7874 | | -function mw.addOnloadHook( func ) { |
| 7874 | +mw.addOnloadHook = function( func ) { |
7875 | 7875 | $j(document).ready( func ); |
7876 | | -} |
\ No newline at end of file |
| 7876 | +} |
Index: trunk/extensions/LiquidThreads/classes/View.php |
— | — | @@ -823,7 +823,7 @@ |
824 | 824 | $basePath = "$wgScriptPath/extensions/$wgLiquidThreadsExtensionName"; |
825 | 825 | |
826 | 826 | if ( !$wgEnableJS2system ) { |
827 | | - $wgOut->addScriptFile( "{$wgScriptPath}/js2/js2stopgap.js" ); |
| 827 | + $wgOut->addScriptFile( "$basePath/jquery/js2.combined.js" ); |
828 | 828 | $wgOut->addExtensionStyle( "$basePath/jquery/jquery-ui-1.7.2.css" ); |
829 | 829 | } |
830 | 830 | |