Remove ignore button from self (#904)

This commit is contained in:
Calvin Montgomery 2021-03-22 22:49:11 -07:00
parent 56b4ec8f3a
commit 05107ce13f
2 changed files with 23 additions and 21 deletions

View file

@ -2,7 +2,7 @@
"author": "Calvin Montgomery", "author": "Calvin Montgomery",
"name": "CyTube", "name": "CyTube",
"description": "Online media synchronizer and chat", "description": "Online media synchronizer and chat",
"version": "3.76.0", "version": "3.76.1",
"repository": { "repository": {
"url": "http://github.com/calzoneman/sync" "url": "http://github.com/calzoneman/sync"
}, },

View file

@ -214,6 +214,7 @@ function addUserDropdown(entry) {
var btngroup = $("<div/>").addClass("btn-group-vertical").appendTo(menu); var btngroup = $("<div/>").addClass("btn-group-vertical").appendTo(menu);
/* ignore button */ /* ignore button */
if (name !== CLIENT.name) {
var ignore = $("<button/>").addClass("btn btn-xs btn-default") var ignore = $("<button/>").addClass("btn btn-xs btn-default")
.appendTo(btngroup) .appendTo(btngroup)
.click(function () { .click(function () {
@ -235,6 +236,7 @@ function addUserDropdown(entry) {
entry.addClass("userlist-ignored"); entry.addClass("userlist-ignored");
ignore.text("Unignore User"); ignore.text("Unignore User");
} }
}
/* pm button */ /* pm button */
if (name !== CLIENT.name) { if (name !== CLIENT.name) {