Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

left_sidebar: Remove tabindex from correct home-view element.

Karl Stolley780d60a9eec1
diff --git a/web/src/left_sidebar_navigation_area.js b/web/src/left_sidebar_navigation_area.js
index 32b432d1d9c..a489f00d817 100644
--- a/web/src/left_sidebar_navigation_area.js
+++ b/web/src/left_sidebar_navigation_area.js
@@ -189,8 +189,8 @@ export function highlight_all_messages_view() {
function handle_home_view_order(home_view) {
// Remove class and tabindex from current home view
const $current_home_view = $(".selected-home-view");
- $current_home_view.removeAttr("tabindex");
$current_home_view.removeClass("selected-home-view");
+ $current_home_view.find("a").removeAttr("tabindex");
const $all_messages_rows = $(".top_left_all_messages");
const $recent_views_rows = $(".top_left_recent_view");