From a465805cb95c6e872905f53256d14660006e3b81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jes=C3=BAs?= <heckyel@hyperbola.info>
Date: Sat, 29 Jan 2022 16:52:18 -0500
Subject: Fix name settings in hotkeys

---
 youtube/static/js/hotkeys.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'youtube/static')

diff --git a/youtube/static/js/hotkeys.js b/youtube/static/js/hotkeys.js
index 7906cf9..d505125 100644
--- a/youtube/static/js/hotkeys.js
+++ b/youtube/static/js/hotkeys.js
@@ -26,7 +26,7 @@ function onKeyDown(e) {
     }
     else if (c == "f") {
         e.preventDefault();
-        if (data.settings.video_player == 1) {
+        if (data.settings.use_video_player == 2) {
             player.fullscreen.toggle()
         }
         else {
-- 
cgit v1.2.3