Skip to content

Commit f4e67b7

Browse files
committed
fix: hide button on mobile (#1005)
1 parent d4f56bb commit f4e67b7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/index.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -1982,11 +1982,7 @@ class VideoHandler {
19821982
);
19831983
// remove listener on xvideos to fix #866
19841984
if (this.site.host !== "xvideos") {
1985-
addExtraEventListeners(
1986-
document,
1987-
["touchstart", "touchmove", "touchend"],
1988-
this.changeOpacityOnEvent,
1989-
);
1985+
addExtraEventListener(document, "touchmove", this.resetTimer);
19901986
}
19911987

19921988
// fix youtube hold to fast

0 commit comments

Comments
 (0)