Fixed loop breakage

This commit is contained in:
2020-08-01 23:27:38 -05:00
parent 41e26c35a6
commit e578231d76
3 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Better Youtube +",
"version": "1.5.3",
"version": "1.5.4",
"description": "Enhancements for Youtube to have a better experience.",
"applications": {

View File

@@ -43,7 +43,7 @@
let ytMaxDefaultImg, ytHqDefaultImg, ytAMaxDefaultImg, ytAHqDefaultImg; // Thumbnail images
let mainContentArea, playerWindow, containerOfPlyrWndow, video; // Youtube Player container
let videoTimeLength, videoTimeCurent, ytRangeStart, ytRangeEnd,
slugInputTag, endlessPlayTag, ytVideoIntervalLoop;
slugInputTag, endlessPlayTag, ytVideoIntervalLoop, loopingInterval;
let poppedContainer, videoSlug, volumeLbl, part;
let modalHasBeenClosed = false;
@@ -454,6 +454,7 @@
}
const downloadVideo = () => {
console.log("Downloading: " + video.baseURI);
browser.runtime.sendMessage( { "url": video.baseURI } );
}