mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-03 15:05:15 -04:00
player shortcuts: ignore numpad
This commit is contained in:
parent
f73aef33f0
commit
3c882cff6e
1 changed files with 3 additions and 0 deletions
|
@ -612,6 +612,9 @@ window.addEventListener('keydown', e => {
|
||||||
case '7':
|
case '7':
|
||||||
case '8':
|
case '8':
|
||||||
case '9':
|
case '9':
|
||||||
|
// Ignore numpad numbers
|
||||||
|
if (code > 57) break;
|
||||||
|
|
||||||
const percent = (code - 48) * 10;
|
const percent = (code - 48) * 10;
|
||||||
action = set_time_percent.bind(this, percent);
|
action = set_time_percent.bind(this, percent);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue