User:Emma/common.js: Difference between revisions

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

Revision as of 22:02, October 2, 2012

if (wgPageName == "Main_Page") {
    addOnloadHook(function() {
        document.getElementById("bodySearchInput").focus();
    });
}