Add placeholder text for #877
This commit is contained in:
parent
da53decdd5
commit
8562b2173e
|
@ -2,7 +2,7 @@
|
|||
"author": "Calvin Montgomery",
|
||||
"name": "CyTube",
|
||||
"description": "Online media synchronizer and chat",
|
||||
"version": "3.76.2",
|
||||
"version": "3.76.3",
|
||||
"repository": {
|
||||
"url": "http://github.com/calzoneman/sync"
|
||||
},
|
||||
|
|
|
@ -1086,6 +1086,11 @@ function handlePermissionChange() {
|
|||
}
|
||||
|
||||
$("#chatline").attr("disabled", !hasPermission("chat"));
|
||||
if (!hasPermission("chat")) {
|
||||
$("#chatline").attr("placeholder", "Chat permissions are restricted on this channel");
|
||||
} else {
|
||||
$("#chatline").attr("placeholder", "");
|
||||
}
|
||||
rebuildPlaylist();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue