// If we've reloaded the page or followed an open-in-new-window,
// make the selected tab visible.
-// On document ready:
-$( function() {
- var hash = window.location.hash;
- if( hash.match( /^#mw-prefsection-[\w-]+/ ) ) {
- var $tab = $( hash.replace( 'mw-prefsection', 'preftab' ) );
- $tab.click();
- }
-} );
+var hash = window.location.hash;
+if( hash.match( /^#mw-prefsection-[\w-]+/ ) ) {
+ var $tab = $( hash.replace( 'mw-prefsection', 'preftab' ) );
+ $tab.click();
+}
/**