left_sidebar: Remove tabindex from correct home-view element.

This commit is contained in:
Karl Stolley 2023-12-02 14:53:11 -05:00 committed by Tim Abbott
parent 0e4dfa04b3
commit 780d60a9ee
1 changed files with 1 additions and 1 deletions

View File

@ -189,8 +189,8 @@ export function highlight_all_messages_view() {
function handle_home_view_order(home_view) { function handle_home_view_order(home_view) {
// Remove class and tabindex from current home view // Remove class and tabindex from current home view
const $current_home_view = $(".selected-home-view"); const $current_home_view = $(".selected-home-view");
$current_home_view.removeAttr("tabindex");
$current_home_view.removeClass("selected-home-view"); $current_home_view.removeClass("selected-home-view");
$current_home_view.find("a").removeAttr("tabindex");
const $all_messages_rows = $(".top_left_all_messages"); const $all_messages_rows = $(".top_left_all_messages");
const $recent_views_rows = $(".top_left_recent_view"); const $recent_views_rows = $(".top_left_recent_view");