mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
narrow: Fix narrowing errors for topics with name 'home'.
Added a `.home-link` class to 'Home' links to separate them from topic links with the name 'home' Fixes #3340
This commit is contained in:
@@ -264,7 +264,7 @@ $(function () {
|
||||
// HOME
|
||||
|
||||
// Capture both the left-sidebar Home click and the tab breadcrumb Home
|
||||
$(document).on('click', "li[data-name='home']", function (e) {
|
||||
$(document).on('click', ".home-link[data-name='home']", function (e) {
|
||||
ui.change_tab_to('#home');
|
||||
narrow.deactivate();
|
||||
// We need to maybe scroll to the selected message
|
||||
|
||||
Reference in New Issue
Block a user