put focus in textbox for quick search (#597)

This commit is contained in:
Jesse Plamondon-Willard 2018-10-20 18:34:44 -04:00
parent 4272669d89
commit baaefc143a
1 changed files with 4 additions and 0 deletions

View File

@ -57,4 +57,8 @@ smapi.modList = function (mods) {
}
}
});
// put focus in textbox for quick search
if (!location.hash)
$("#search-box").focus();
};