This commit is contained in:
Tamir Duberstein 2015-07-17 14:35:09 -04:00
parent b5dad7dcb2
commit b3a9cd3a69

View File

@ -115,7 +115,7 @@
case "s":
case "S":
ev.preventDefault();
$(".search-input").focus();
focusSearchBar()
break;
case "?":
@ -960,5 +960,5 @@
// Sets the focus on the search bar at the top of the page
function focusSearchBar() {
document.getElementsByName('search')[0].focus();
$('.search-input').focus();
}