MediaWiki:Gadget-searchFocus.js:修订间差异
跳到导航
跳到搜索
imported>Irukaza 小 (导入1个版本) |
imported>Irukaza 无编辑摘要 |
||
(未显示同一用户的2个中间版本) | |||
第8行: | 第8行: | ||
// | // | ||
// Imported from [[Wikipedia:FAQ/Main Page]] as of April 1, 2008 | // Imported from [[Wikipedia:FAQ/Main Page]] as of April 1, 2008 | ||
// </pre></nowiki> | |||
$( function () { | |||
document.getElementById("searchInput").focus(); | |||
}); | |||
2022年1月31日 (一) 00:40的最新版本
// <pre><nowiki>
// _________________________________________________________________________________________
// | |
// | === 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
// </pre></nowiki>
$( function () {
document.getElementById("searchInput").focus();
});