Skip to content

Commit

Permalink
Merge pull request #2177 from raszpl/patch-1
Browse files Browse the repository at this point in the history
functions.js click handler catch html5-video-container
  • Loading branch information
ImprovedTube authored May 3, 2024
2 parents 427b3ed + 75e2b30 commit 9266d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js&css/web-accessible/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ ImprovedTube.onmousedown = function (event) {
for (var i = 0, l = path.length; i < l; i++) {
if (path[i].className
&& path[i].className.indexOf
&& (path[i].className.indexOf('html5-main-video') !== -1
&& (path[i].className.indexOf('html5-video-container') !== -1
|| path[i].className.indexOf('ytp-play-button') !== -1)) {
ImprovedTube.user_interacted = true;
}
Expand Down

0 comments on commit 9266d8d

Please sign in to comment.