Skip to content

Commit 709fef8

Browse files
committed
Eliminated passing of arg to arg-less setEventListeners() ↞ [auto-sync from https://github.com/adamlui/youtube-classic]
1 parent 60f2e61 commit 709fef8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name YouTube™ Classic 📺 — (Remove rounded design + Return YouTube dislikes)
3-
// @version 2026.1.17.10
3+
// @version 2026.1.17.11
44
// @author Adam Lui, Magma_Craft, Anarios, JRWR, Fuim & hoothin
55
// @namespace https://github.com/adamlui
66
// @description Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts
@@ -2202,7 +2202,7 @@
22022202
let originalPush = history.pushState;
22032203
history.pushState = function(...args) {
22042204
unsafeWindow.returnDislikeButtonlistenersSet = false;
2205-
setEventListeners(args[2]);
2205+
setEventListeners()
22062206
return originalPush.apply(history, args);
22072207
};
22082208
setInterval(() => {

0 commit comments

Comments
 (0)