From 9cc8bc6d7b4a0c0d651d80802719e83c485e4a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Tue, 15 Jun 2021 22:25:56 +0200 Subject: [PATCH] Remove: Left over debugging if clauses --- dist/plex-meets-homeassistant.js | 6 +++--- src/plex-meets-homeassistant.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 24b31c6..299843c 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -20375,13 +20375,13 @@ class PlexMeetsHomeAssistant extends HTMLElement { if (this.videoElem) { const videoPlayer = this.getElementsByClassName('videoPlayer')[0]; const video = videoPlayer.children[0]; - if (video.requestFullscreen && false) { + if (video.requestFullscreen) { video.requestFullscreen(); } - else if (video.webkitRequestFullscreen && false) { + else if (video.webkitRequestFullscreen) { video.webkitRequestFullscreen(); } - else if (video.msRequestFullscreen && false) { + else if (video.msRequestFullscreen) { video.msRequestFullscreen(); } else { diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index 33306d5..e758915 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -521,11 +521,11 @@ class PlexMeetsHomeAssistant extends HTMLElement { if (this.videoElem) { const videoPlayer = this.getElementsByClassName('videoPlayer')[0] as HTMLElement; const video = videoPlayer.children[0] as any; - if (video.requestFullscreen && false) { + if (video.requestFullscreen) { video.requestFullscreen(); - } else if (video.webkitRequestFullscreen && false) { + } else if (video.webkitRequestFullscreen) { video.webkitRequestFullscreen(); - } else if (video.msRequestFullscreen && false) { + } else if (video.msRequestFullscreen) { video.msRequestFullscreen(); } else { const videobgs1 = this.getElementsByClassName('videobg1');