Skip to content

Commit

Permalink
v4.1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvd committed Jun 4, 2020
1 parent 80866f0 commit 04c37f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -3719,6 +3719,7 @@ function nightfunction(){

var x = document.getElementsByTagName("video")[0];
var nightcurrentvideoplaying = false;
if(x){
x.addEventListener("playing", function(e){
nightcurrentvideoplaying = true;
if(document.fullscreenElement){gohideswitchonplay();}
Expand All @@ -3727,6 +3728,7 @@ function nightfunction(){
nightcurrentvideoplaying = false;
goshowswitchonpause();
});
}

document.addEventListener("fullscreenchange", function(event){
if(document.fullscreenElement){
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_name__",
"short_name": "Turn Off the Lights",
"version": "4.1.7.0",
"version": "4.1.8.0",
"description": "__MSG_description__",
"author": "Stefan vd",
"homepage_url": "https://www.turnoffthelights.com/support/",
Expand Down

0 comments on commit 04c37f7

Please sign in to comment.