[Client] Fix bug

This commit is contained in:
syuilo 2017-02-22 17:10:58 +09:00
parent 4a44cfa472
commit 48812ad2e0

View file

@ -26,7 +26,7 @@
});
this.onkeydown = e => {
if (e.target.tagName == 'input' || e.target.tagName == 'textarea') return;
if (e.target.tagName == 'INPUT' || e.target.tagName == 'TEXTAREA') return;
if (e.which == 80 || e.which == 78) { // p or n
e.preventDefault();