mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
Don't re-focus on the search box after ending the search.
(imported from commit 35bffb245ad9dc58b394a1c5228b32db4830f2bd)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user