MediaWiki:Gadget-searchFocus.js: Difference between revisions
Jump to navigation
Jump to search
imported>RadioInsomnia m (1 revision imported) |
(No difference)
|
Revision as of 13:49, 1 December 2015
// _________________________________________________________________________________________
// | |
// | === 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();
} );
}