Move $j=jQuery alias up to mediawiki.js from wikibits.js, so code running before...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 7 Oct 2010 18:37:53 +0000 (18:37 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 7 Oct 2010 18:37:53 +0000 (18:37 +0000)
resources/mediawiki/mediawiki.js
skins/common/wikibits.js

index 8d4e03a..5b548f9 100644 (file)
@@ -763,4 +763,7 @@ window.mediaWiki = new ( function( $ ) {
 if ( typeof startUp === 'function' ) {
        startUp();
        delete startUp;
-}
\ No newline at end of file
+}
+
+// Alias $j to jQuery for backwards compatibility
+window.$j = jQuery;
index 16bd43b..e5b835e 100644 (file)
@@ -1100,7 +1100,3 @@ if ( ie6_bugs ) {
 }
 
 showTocToggle();
-
-// jQuery alias
-
-window.$j = jQuery;