Merge pull request #25 from samuelthomas2774/master

Fixed bug introduced in #24
This commit is contained in:
Pierce 2018-01-20 17:48:39 -05:00 committed by GitHub
commit de5fd43b84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
this.hideSettings();
return;
}
if (!e.metaKey && !e.ctrlKey && e.key !== 'b') return;
if (!e.metaKey && !e.ctrlKey || e.key !== 'b') return;
!this.active ? this.showSettings() : this.hideSettings();