mirror of https://github.com/zulip/zulip.git
left_sidebar: Remove tabindex from correct home-view element.
This commit is contained in:
parent
0e4dfa04b3
commit
780d60a9ee
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue