commit | 91ac033599bd7b0ee0e860a8c07a3298a88a11d5 | [log] [tgz] |
---|---|---|
author | Kasper Nilsson <kaspern@google.com> | Wed Jun 27 11:02:36 2018 -0700 |
committer | Kasper Nilsson <kaspern@google.com> | Wed Jun 27 11:02:36 2018 -0700 |
tree | 26bb6cfb90c2af25f56dd92d9601fcf1e0ec9297 | |
parent | bbb1765ebdb4274280f18f5aba7fd47f90e47028 [diff] |
Suppress X keyboard shortcut when relevant Bug: Issue 9357 Change-Id: I3c0e9af93d20f4c85b31d2babd81c5c739e9a1aa
diff --git a/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.js b/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.js index 9862b3f..8798a8f 100644 --- a/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.js +++ b/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.js
@@ -990,6 +990,7 @@ }, _handleShiftXKey(e) { + if (this.shouldSuppressKeyboardShortcut(e)) { return; } this.$.diff.expandAllContext(); }, });