commit | 9663698ef3e7f4584837f34f17f930c358de11a2 | [log] [tgz] |
---|---|---|
author | Kristi Park <[email protected]> | Wed Aug 07 00:01:28 2019 |
committer | Kristi Park <[email protected]> | Wed Aug 07 00:01:28 2019 |
tree | b0350239341e179bf351e4d9d58054ad1bc55baf | |
parent | 2405919bc172cb082a5e571be69bd10c16f91a5a [diff] |
[Merge M77] [NTP] Fix 'Done' button tabindex for richer picker (cherry picked from commit 633b6fa29a73568e6f4501c3ec392f45f11f6e42) Bug: 990789 Change-Id: I6d489a1f01397cdc611911dc9c5000a244648c05 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1737036 Commit-Queue: Kristi Park <[email protected]> Commit-Queue: Gayane Petrosyan <[email protected]> Auto-Submit: Kristi Park <[email protected]> Reviewed-by: Gayane Petrosyan <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#684093} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1740728 Reviewed-by: Kristi Park <[email protected]> Cr-Commit-Position: refs/branch-heads/3865@{#252} Cr-Branched-From: 0cdcc6158160790658d1f033d3db873603250124-refs/heads/master@{#681094}
diff --git a/chrome/browser/resources/local_ntp/customize.js b/chrome/browser/resources/local_ntp/customize.js index a6bc9fc..42be576 100644 --- a/chrome/browser/resources/local_ntp/customize.js +++ b/chrome/browser/resources/local_ntp/customize.js
@@ -868,7 +868,7 @@ customize.richerPicker_maybeToggleDone = function() { const enable = customize.richerPicker_isOptionSelected(); $(customize.IDS.MENU_DONE).disabled = !enable; - $(customize.IDS.MENU_DONE).tabIndex = enable ? 1 : 0; + $(customize.IDS.MENU_DONE).tabIndex = enable ? 0 : -1; }; /**