MediaWiki:Gadget-searchFocus.js: Difference between revisions

From Porn Base Central
Jump to navigation Jump to search
imported>RadioInsomnia
m (1 revision imported)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 17:12, 16 August 2020

//  _________________________________________________________________________________________
// |                                                                                         |
// |                    === WARNING: GLOBAL GADGET FILE ===                                  |
// |                  Changes to this page affect many users.                                |
// | Please discuss changes on the talk page or on [[Wikipedia_talk:Gadget]] before editing. |
// |_________________________________________________________________________________________|
//
// Imported from [[Wikipedia:FAQ/Main Page]] as of April 1, 2008

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