Skip to content

Commit b99414c

Browse files
committed
fix
1 parent 839abe2 commit b99414c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/youtube_viewDislikes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export default {
3434
let label = btn.querySelector(
3535
".yt-spec-button-shape-with-label__label span"
3636
);
37+
if (!label) return;
3738
let text = numberFormat(dislikeCount);
3839
if (label.textContent === text) return;
3940
label.textContent = text;

0 commit comments

Comments
 (0)