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:
Steve Howell
2013-11-22 16:16:38 -05:00
parent d39141039b
commit 60a8e6e769

View File

@@ -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;
}