mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 10:52:20 +01:00
fix hidden dislike count, extension & userjs
This commit is contained in:
1 parent
9a7554ba3c
commit
8c95d76d03
2 files changed
+2
No files matched your search
@@ -219,6 +219,7 @@ function setDislikes(dislikesCount) {
|
|||||||
mobileDislikes = dislikesCount;
|
mobileDislikes = dislikesCount;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
getDislikeTextContainer()?.removeAttribute('is-empty');
|
||||||
getDislikeTextContainer().innerText = dislikesCount;
|
getDislikeTextContainer().innerText = dislikesCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -137,6 +137,7 @@ function setLikes(likesCount) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setDislikes(dislikesCount) {
|
function setDislikes(dislikesCount) {
|
||||||
|
getDislikeTextContainer()?.removeAttribute('is-empty');
|
||||||
if (!isLikesDisabled()) {
|
if (!isLikesDisabled()) {
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
getButtons().children[1].querySelector(
|
getButtons().children[1].querySelector(
|
||||||
|
|||||||
Reference in new issue
Block a user