subs: Restore debouncing of stream filtering.

This appears to have been accidentally removed in the redesign.
This commit is contained in:
Tim Abbott 2016-12-14 22:36:30 -08:00
parent 45f39be37f
commit fe2d38392f
1 changed files with 2 additions and 1 deletions

View File

@ -580,7 +580,8 @@ exports.setup_page = function (callback) {
$("#add_new_subscription input[type='text']").on("input", function () {
remove_temporarily_miscategorized_streams();
actually_filter_streams();
// Debounce filtering in case a user is typing quickly
filter_streams();
});
$(document).trigger($.Event('subs_page_loaded.zulip'));