diff --git a/www/css/cytube.css b/www/css/cytube.css index e3084997..a0f6c406 100644 --- a/www/css/cytube.css +++ b/www/css/cytube.css @@ -688,3 +688,7 @@ input#logout[type="submit"]:hover { body.hd #resize-video-larger, body.hd #resize-video-smaller { display: none; } + +.userlist-ignored { + text-decoration: line-through; +} diff --git a/www/js/util.js b/www/js/util.js index 319cdc42..895b9b05 100644 --- a/www/js/util.js +++ b/www/js/util.js @@ -220,14 +220,18 @@ function addUserDropdown(entry) { if(IGNORED.indexOf(name) == -1) { ignore.text("Unignore User"); IGNORED.push(name); + entry.addClass("userlist-ignored"); } else { ignore.text("Ignore User"); IGNORED.splice(IGNORED.indexOf(name), 1); + entry.removeClass("userlist-ignored"); } }); if(IGNORED.indexOf(name) == -1) { + entry.removeClass("userlist-ignored"); ignore.text("Ignore User"); } else { + entry.addClass("userlist-ignored"); ignore.text("Unignore User"); }