do not get Shorts like number

It does not work.
Also, in js zero is not false.
This commit is contained in:
Aneimytis committed 2022-05-08 05:53:07 -05:00
1 parent 41dd4e656e
commit 1d3f71170b
1 file changed
+1 -1
+1 -1
View File
@@ -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")