From c5274604b2a01517fa0c82146055a8f829072bd4 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 31 Mar 2025 11:58:23 +0100 Subject: [PATCH] fix typo --- app/static/js/VideoPlayer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/static/js/VideoPlayer.js b/app/static/js/VideoPlayer.js index 2687c4b..369316b 100644 --- a/app/static/js/VideoPlayer.js +++ b/app/static/js/VideoPlayer.js @@ -180,7 +180,7 @@ window.VideoPlayer = function(options) { } } async function toggleFullscreen(event) { - if (typeof window.TelegramWebview !== 'undefined') { { + if (typeof window.TelegramWebview !== 'undefined') { return } if (isIOS) { @@ -282,7 +282,7 @@ window.VideoPlayer = function(options) { self.controls.querySelector('.toggle').addEventListener("click", toggleVideo) self.controls.querySelector('.volume').addEventListener("click", toggleSound) self.controls.querySelector('.fullscreen-btn').addEventListener("click", toggleFullscreen) - if (typeof window.TelegramWebview !== 'undefined') { { + if (typeof window.TelegramWebview !== 'undefined') { self.controls.querySelector('.fullscreen-btn').style.display = 'none'; return }