right-sidebar: Fix clicking between Users label and search icon.

This brings the right sidebar UI to match the similar widget in the
left sidebar.  Since there's no other plausible effect for a click in
this whitespace, this small tweak should make using Zulip a bit more
convenient.

Fixes #8161.
This commit is contained in:
aedorado 2018-01-25 16:50:19 +05:30 committed by Tim Abbott
parent 2c3b30bf2c
commit c98d355321
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ exports.initialize = function () {
exports.set_user_list_filter_handlers(); exports.set_user_list_filter_handlers();
$('#clear_search_people_button').on('click', exports.clear_search); $('#clear_search_people_button').on('click', exports.clear_search);
$('#user_filter_icon, #userlist-title').click(exports.toggle_filter_displayed); $('#userlist-header').click(exports.toggle_filter_displayed);
// Let the server know we're here, but pass "false" for // Let the server know we're here, but pass "false" for
// want_redraw, since we just got all this info in page_params. // want_redraw, since we just got all this info in page_params.