mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-22 14:23:01 +01:00
Removed rate bar from mobile
https://github.com/Anarios/return-youtube-dislike/issues/477
This commit is contained in:
1 file changed
+1
-1
@@ -179,7 +179,7 @@ function createRateBar(likes, dislikes) {
|
||||
const widthPercent =
|
||||
likes + dislikes > 0 ? (likes / (likes + dislikes)) * 100 : 50;
|
||||
|
||||
if (!rateBar) {
|
||||
if (!rateBar && !isMobile) {
|
||||
document.getElementById("menu-container").insertAdjacentHTML(
|
||||
"beforeend",
|
||||
`
|
||||
|
||||
Reference in new issue
Block a user