mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 06:27:34 -07:00
[Client] Fix bug
This commit is contained in:
parent
f8e797cde5
commit
060a31cce0
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
this.onkeydown = e => {
|
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
|
if (e.which == 80 || e.which == 78) { // p or n
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
Loading…
Reference in a new issue