User:Emma/common.js: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
if (wgPageName == "Main_Page") { | if (wgPageName == "Main_Page") { | ||
addOnloadHook(function() { | addOnloadHook(function() { | ||
document.getElementById(" | document.getElementById("searchInput").focus(); | ||
}); | }); | ||
} | } |
Revision as of 22:04, October 2, 2012
if (wgPageName == "Main_Page") { addOnloadHook(function() { document.getElementById("searchInput").focus(); }); }