mirror of https://github.com/zulip/zulip.git
Make clicking gravatar or "Humbug" take you home.
Looks like this was broken in 546063f88d58fb988363e5c89a13507deeb20afd. (imported from commit 077186e60bf7a48742e71bbcb4e705c02f1ddc0a)
This commit is contained in:
parent
275af189a3
commit
52b3da6668
|
@ -436,7 +436,7 @@ exports.restore_home_state = function() {
|
|||
// If we click on the Home link from another nav pane, just go
|
||||
// back to the state you were in (possibly still narrowed) before
|
||||
// you left the Home pane.
|
||||
if ($('#gear-menu li[title="Home"]').hasClass("active")) {
|
||||
if (!ui.home_tab_obscured()) {
|
||||
exports.deactivate();
|
||||
}
|
||||
maybe_scroll_to_selected();
|
||||
|
|
Loading…
Reference in New Issue