From 1bdcb245db9167705649c0335c124b1c6b8cac91 Mon Sep 17 00:00:00 2001 From: Korbs Date: Sun, 1 Dec 2024 14:24:16 -0500 Subject: [PATCH] If the big play present is not enabled, drop the script and prevent player breakage --- src/Controls/Controller.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controls/Controller.astro b/src/Controls/Controller.astro index a3719c6..d670407 100644 --- a/src/Controls/Controller.astro +++ b/src/Controls/Controller.astro @@ -355,7 +355,7 @@ function PlayItAgain() { // Init All Functions AutoToggleControls() -BigPresentButton() +if (BigPlayButton === true) {BigPresentButton()} else {null} Fullscreen() Gestures() KeyboardShortcuts()