mirror of https://github.com/calzoneman/sync.git
Add placeholder text for #877
This commit is contained in:
parent
da53decdd5
commit
8562b2173e
|
@ -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.2",
|
"version": "3.76.3",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "http://github.com/calzoneman/sync"
|
"url": "http://github.com/calzoneman/sync"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1086,6 +1086,11 @@ function handlePermissionChange() {
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#chatline").attr("disabled", !hasPermission("chat"));
|
$("#chatline").attr("disabled", !hasPermission("chat"));
|
||||||
|
if (!hasPermission("chat")) {
|
||||||
|
$("#chatline").attr("placeholder", "Chat permissions are restricted on this channel");
|
||||||
|
} else {
|
||||||
|
$("#chatline").attr("placeholder", "");
|
||||||
|
}
|
||||||
rebuildPlaylist();
|
rebuildPlaylist();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue