mirror of https://github.com/calzoneman/sync.git
Remove ignore button from self (#904)
This commit is contained in:
parent
56b4ec8f3a
commit
05107ce13f
|
@ -2,7 +2,7 @@
|
|||
"author": "Calvin Montgomery",
|
||||
"name": "CyTube",
|
||||
"description": "Online media synchronizer and chat",
|
||||
"version": "3.76.0",
|
||||
"version": "3.76.1",
|
||||
"repository": {
|
||||
"url": "http://github.com/calzoneman/sync"
|
||||
},
|
||||
|
|
|
@ -214,6 +214,7 @@ function addUserDropdown(entry) {
|
|||
var btngroup = $("<div/>").addClass("btn-group-vertical").appendTo(menu);
|
||||
|
||||
/* ignore button */
|
||||
if (name !== CLIENT.name) {
|
||||
var ignore = $("<button/>").addClass("btn btn-xs btn-default")
|
||||
.appendTo(btngroup)
|
||||
.click(function () {
|
||||
|
@ -235,6 +236,7 @@ function addUserDropdown(entry) {
|
|||
entry.addClass("userlist-ignored");
|
||||
ignore.text("Unignore User");
|
||||
}
|
||||
}
|
||||
|
||||
/* pm button */
|
||||
if (name !== CLIENT.name) {
|
||||
|
|
Loading…
Reference in New Issue