Removed rate bar from mobile

https://github.com/Anarios/return-youtube-dislike/issues/477
This commit is contained in:
sy-b authored and GitHub committed 2022-02-20 09:47:31 +05:30
1 parent af17d258c3
commit 856ebf1124
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",
`