Commit 6eaf0af7 authored by Hector Carmona's avatar Hector Carmona Committed by Commit Bot

Navi: Fix wallpaper module keyboard focus

Bug: 955357
Change-Id: I50ecd9e1a2f6962fb3e8fe9f67627e13e2c09983
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1579024
Auto-Submit: Hector Carmona <hcarmona@chromium.org>
Commit-Queue: Dan Beam <dbeam@chromium.org>
Reviewed-by: default avatarDan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653611}
parent 27b29110
...@@ -180,7 +180,7 @@ Polymer({ ...@@ -180,7 +180,7 @@ Polymer({
direction *= -1; // Reverse direction if RTL. direction *= -1; // Reverse direction if RTL.
} }
const buttons = this.root.querySelectorAll('.ntp-background-grid-button'); const buttons = this.root.querySelectorAll('.option');
const targetIndex = Array.prototype.indexOf.call(buttons, element); const targetIndex = Array.prototype.indexOf.call(buttons, element);
const oldFocus = buttons[targetIndex]; const oldFocus = buttons[targetIndex];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment