MediaWiki:Gadget-searchFocus.js

// _________________________________________________________________________________________ // |                                                                                         | // |                    === WARNING: GLOBAL GADGET FILE ===                                  | // |                 Changes to this page affect many users. | // | Please discuss changes on the talk page or on FAMEPedia_talk:Gadget before editing. | // |_________________________________________________________________________________________| //

if ( mw.config.get( 'wgIsMainPage' ) ) { $( function {    $( '#searchInput' ).focus;  } ); }