mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
Make sure click handlers are called from sidebar menu.
This is a subtle change, to make sure that list items from stream_filters always go through click handlers, which ensures, e.g., consistent behavior on opening the compose box. (imported from commit cd734901def8959c8c8a29c164c7a60730ae0915)
This commit is contained in:
@@ -1380,7 +1380,7 @@ $(function () {
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('#stream_filters li').on('click', '.subscription_block', function (e) {
|
||||
$('#stream_filters').on('click', 'li .subscription_block', function (e) {
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user