mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
In the left sidebar, make the entire row clickable.
Addresses Trac #1287. (imported from commit a71867c2435790ce8548fa0b27604b5b1844d624)
This commit is contained in:
@@ -1182,7 +1182,7 @@ $(function () {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#stream_filters li').on('click', 'a.subscription_name', function (e) {
|
$('#stream_filters li').on('click', 'a.subscription_name, .subscription_block', function (e) {
|
||||||
if (exports.home_tab_obscured()) {
|
if (exports.home_tab_obscured()) {
|
||||||
ui.change_tab_to('#home');
|
ui.change_tab_to('#home');
|
||||||
}
|
}
|
||||||
@@ -1194,7 +1194,7 @@ $(function () {
|
|||||||
|
|
||||||
popovers.register_click_handlers();
|
popovers.register_click_handlers();
|
||||||
|
|
||||||
$('#stream_filters').on('click', '.expanded_subject a', function (e) {
|
$('#stream_filters').on('click', '.expanded_subject a, .subject_box', function (e) {
|
||||||
if (exports.home_tab_obscured()) {
|
if (exports.home_tab_obscured()) {
|
||||||
ui.change_tab_to('#home');
|
ui.change_tab_to('#home');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user