Don't re-focus on the search box after ending the search.

(imported from commit 35bffb245ad9dc58b394a1c5228b32db4830f2bd)
This commit is contained in:
Jessica McKellar
2012-11-01 12:14:33 -04:00
parent 9ec6b80019
commit c1cc9f0742
3 changed files with 7 additions and 2 deletions

View File

@@ -92,9 +92,13 @@ function clear_search_cache() {
cached_term = "";
}
function initiate_search() {
$('#search').val('').focus();
}
function clear_search() {
$('table tr').removeHighlight();
$('#search').val('').focus();
$('#search').val('');
clear_search_cache();
}