mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-02 06:26:27 -04:00
convert arrow functions
This commit is contained in:
parent
38ef0b10e7
commit
577a2356a0
2 changed files with 17 additions and 17 deletions
|
@ -144,7 +144,7 @@
|
|||
}
|
||||
|
||||
// Handle keypresses
|
||||
window.addEventListener('keydown', (event) => {
|
||||
window.addEventListener('keydown', function (event) {
|
||||
// Ignore modifier keys
|
||||
if (event.ctrlKey || event.metaKey) return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue