DescriptionMD Settings: Display > Overscan: Update text and fix focus
While updating the text I discovered that changing the focus (e.g. by calling blur() on the focused button, or simply clicking or tabbing away from the dialog) would cause the keyboard event to not get triggered. This change was introduced in https://codereview.chromium.org/2180823004.
The simple fix is to call window.addEventListener instead of this.addEventListener.
BUG=660597
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/857d7966566652606eebaf44e27db67f36d3d0dc
Cr-Commit-Position: refs/heads/master@{#440910}
Patch Set 1 #Patch Set 2 : Fix keyboard focus #
Total comments: 6
Patch Set 3 : Feedback #
Messages
Total messages: 14 (7 generated)
|