mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Un-narrow whenever we clear the search box
(imported from commit 15533579bfbae1644cc76b33348c3cd21a829713)
This commit is contained in:
@@ -337,6 +337,7 @@ exports.initiate_search = function () {
|
||||
};
|
||||
|
||||
exports.clear_search = function () {
|
||||
narrow.deactivate();
|
||||
$('table tr').removeHighlight();
|
||||
// Clear & reset searchbox to its normal size
|
||||
$('#search_query').val('').width('');
|
||||
|
||||
Reference in New Issue
Block a user