Skip to content

Commit

Permalink
Update player.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ImprovedTube committed Aug 7, 2023
1 parent baba607 commit 090c763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js&css/web-accessible/www.youtube.com/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ ImprovedTube.playerAds = function (parent) {
// TODO: Replace this with centralized video element pointer
let video = document.querySelector('.video-stream.html5-main-video');
function skipAd() {
if (video) video.currentTime = video.duration;
// if (video) video.currentTime = video.duration;
if (button) button.click();
}

Expand Down

0 comments on commit 090c763

Please sign in to comment.