Added minor TODO
This commit is contained in:
parent
8a5534482b
commit
9c7c33ffc1
1 changed files with 1 additions and 1 deletions
|
|
@ -626,7 +626,7 @@ document.getElementById("playlist-mode").style.display = "none";
|
||||||
document.getElementById("settings-mode").style.display = "none";
|
document.getElementById("settings-mode").style.display = "none";
|
||||||
document.getElementById("volumerange").onchange = async function(e) {
|
document.getElementById("volumerange").onchange = async function(e) {
|
||||||
// there is no reason for this not to be a defined function
|
// there is no reason for this not to be a defined function
|
||||||
// FIX THIS
|
// TODO: FIX THIS
|
||||||
let returnValue = await postFromServer({setting:"volume",level:e.target.value}, "settings")
|
let returnValue = await postFromServer({setting:"volume",level:e.target.value}, "settings")
|
||||||
if (returnValue["status"] == ERR_NO_ADMIN) {
|
if (returnValue["status"] == ERR_NO_ADMIN) {
|
||||||
// alertText("Error: Admin restricted action");
|
// alertText("Error: Admin restricted action");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue