summaryrefslogtreecommitdiffstats
path: root/assets/js/handlers.js
diff options
context:
space:
mode:
authormeow <woem>2022-04-20 12:36:52 +0300
committermeow <woem>2022-04-25 10:14:29 +0300
commit577a2356a03532517ae2f996845cc27df38fce99 (patch)
treef48ff8008cc2288a95123f86af13e822a2c734c5 /assets/js/handlers.js
parent38ef0b10e79232de1c6fa2062d9983e4a944f6be (diff)
downloadinvidious-577a2356a03532517ae2f996845cc27df38fce99.tar.gz
invidious-577a2356a03532517ae2f996845cc27df38fce99.tar.bz2
invidious-577a2356a03532517ae2f996845cc27df38fce99.zip
convert arrow functions
Diffstat (limited to 'assets/js/handlers.js')
-rw-r--r--assets/js/handlers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/handlers.js b/assets/js/handlers.js
index 1bf11364..c2016bc8 100644
--- a/assets/js/handlers.js
+++ b/assets/js/handlers.js
@@ -144,7 +144,7 @@
}
// Handle keypresses
- window.addEventListener('keydown', (event) => {
+ window.addEventListener('keydown', function (event) {
// Ignore modifier keys
if (event.ctrlKey || event.metaKey) return;