Skip to content

Commit

Permalink
Remove: Left over debugging if clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajNyiri committed Jun 15, 2021
1 parent 6bc108b commit 9cc8bc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/plex-meets-homeassistant.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions src/plex-meets-homeassistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 9cc8bc6

Please sign in to comment.