shorts fix

This commit is contained in:
Anarios committed 2025-08-25 09:12:25 +02:00
1 parent bb527d6da1
commit 70d4fda075
3 files changed
+43 -3

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ let isSetInitialStateDone = false;
async function setEventListeners(evt) {
async function checkForJS_Finish() {
try {
if (isShorts() || (getButtons()?.offsetParent && isVideoLoaded())) {
if ((isShorts() && isVideoLoaded()) || (getButtons()?.offsetParent && isVideoLoaded())) {
clearInterval(jsInitChecktimer);
jsInitChecktimer = null;
createSmartimationObserver();