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",
|
"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"
|
||||||
},
|
},
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue