User:Emma/common.js: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
if (wgPageName == "Main_Page") {
if (wgPageName == "Main_Page") {
     addOnloadHook(function() {
     addOnloadHook(function() {
         document.getElementById("bodySearchInput").focus();
         document.getElementById("searchInput").focus();
     });
     });
}
}

Navigation menu