Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.preferences.js |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | /* |
3 | 3 | * JavaScript for Special:Preferences |
4 | 4 | */ |
5 | | -( function( $, mw ) { |
| 5 | +jQuery( document ).ready( function( $ ) { |
6 | 6 | $( '#prefsubmit' ).attr( 'id', 'prefcontrol' ); |
7 | 7 | var $preftoc = $('<ul id="preftoc"></ul>'); |
8 | 8 | var $preferences = $( '#preferences' ) |
— | — | @@ -137,4 +137,4 @@ |
138 | 138 | $tzTextbox.blur( function() { updateTimezoneSelection(); } ); |
139 | 139 | updateTimezoneSelection(); |
140 | 140 | } |
141 | | -} )( jQuery, mediaWiki ); |
\ No newline at end of file |
| 141 | +} ); |