mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-02 16:58:49 +09:00
[Client] Fix bug
This commit is contained in:
parent
4a44cfa472
commit
48812ad2e0
@ -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 New Issue
Block a user