Skip to content

Commit e35c1e3

Browse files
authored
Merge pull request #3124 from Tibood/master
🐞"Shorts: Force to use the standard player" not working
2 parents 635aa23 + 5286d52 commit e35c1e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js&css/web-accessible/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
--------------------------------------------------------------*/
44
if (document.body) { ImprovedTube.childHandler(document.body); }
55

6-
ImprovedTube.redirectShortsToWatch();
76
ImprovedTube.observer = new MutationObserver(function (mutationList) {
87

98
for (var i = 0, l = mutationList.length; i < l; i++) {
@@ -145,6 +144,7 @@ document.addEventListener('yt-navigate-finish', function () {
145144
ImprovedTube.initPlayer();
146145
}
147146
if(ImprovedTube.elements.shorts_player){
147+
ImprovedTube.redirectShortsToWatch();
148148
if(ImprovedTube.storage.prevent_shorts_autoloop){
149149
ImprovedTube.stop_shorts_autoloop();
150150
}

0 commit comments

Comments
 (0)