Remove: Left over debugging if clauses

pull/16/head 1.1.3
Juraj Nyíri 4 years ago
parent 6bc108b3a2
commit 9cc8bc6d7b

@ -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 {

@ -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');

Loading…
Cancel
Save