MD 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 Review-Url: https://codereview.chromium.org/2589353002 Cr-Commit-Position: refs/heads/master@{#440910}
Showing
Please register or sign in to comment