Do not trigger blame when typing b in comment

Bug: Issue 12334
Change-Id: I30963ab29cc0d47eb219d84193066a9f36e34422
This commit is contained in:
Milutin Kristofic
2020-02-13 14:05:13 +01:00
committed by Ben Rohlfs
parent f4613afa5f
commit ca113273ff

View File

@@ -1141,7 +1141,10 @@
* Load and display blame information if it has not already been loaded.
* Otherwise hide it.
*/
_toggleBlame() {
_toggleBlame(e) {
if (this.shouldSuppressKeyboardShortcut(e) ||
this.modifierPressed(e)) { return; }
if (this._isBlameLoaded) {
this.$.diffHost.clearBlame();
return;