From 1d3f71170bcb5ca74693e37682a2f2890d2be8dd Mon Sep 17 00:00:00 2001 From: Aneimytis <5927301+cyrildtm@users.noreply.github.com> Date: Sun, 8 May 2022 05:53:07 -0500 Subject: [PATCH] do not get Shorts like number It does not work. Also, in js zero is not false. --- Extensions/combined/src/state.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extensions/combined/src/state.js b/Extensions/combined/src/state.js index 0b987c1..e20db49 100644 --- a/Extensions/combined/src/state.js +++ b/Extensions/combined/src/state.js @@ -150,7 +150,7 @@ function getLikeCountFromButton() { if (isShorts()) { //Youtube Shorts don't work with this query. It's not nessecary; we can skip it and still see the results. //It should be possible to fix this function, but it's not critical to showing the dislike count. - return 0; + return false; } let likesStr = getLikeButton() .querySelector("yt-formatted-string#text")