Merge pull request #324 from mphelp/fix-clips

Fix Issue 180: clips
This commit is contained in:
Dmitrii Selivanov authored and GitHub committed 2022-02-04 22:11:43 +03:00
commit 14145ed7b5
2 files changed
-7

No files matched your search

@@ -348,14 +348,9 @@ function setEventListeners(evt) {
} }
} }
if (
window.location.href.indexOf("watch?") >= 0 ||
(isMobile && evt?.indexOf("watch?") >= 0)
) {
cLog("Setting up..."); cLog("Setting up...");
jsInitChecktimer = setInterval(checkForJS_Finish, 111); jsInitChecktimer = setInterval(checkForJS_Finish, 111);
} }
}
(function () { (function () {
"use strict"; "use strict";
@@ -44,10 +44,8 @@ function setEventListeners(evt) {
} }
} }
if (window.location.href.indexOf("watch?") >= 0) {
jsInitChecktimer = setInterval(checkForJS_Finish, 111); jsInitChecktimer = setInterval(checkForJS_Finish, 111);
} }
}
setEventListeners(); setEventListeners();