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.
mNo edit summary
m (Script functional, moving to gadget.)
Line 1: Line 1:
if (wgPageName == "Main_Page") {
 
    addOnloadHook(function() {
        document.getElementById("searchInput").focus();
    });
}

Revision as of 22:05, October 2, 2012