Move/change playlist lock button
This commit is contained in:
parent
d3cda0517c
commit
0cc230f192
3 changed files with 14 additions and 6 deletions
|
|
@ -872,12 +872,18 @@ Callbacks = {
|
|||
if(CHANNEL.openqueue) {
|
||||
$("#qlockbtn").removeClass("btn-danger")
|
||||
.addClass("btn-success")
|
||||
.text("Lock Playlist");
|
||||
.attr("title", "Playlist Unlocked");
|
||||
$("#qlockbtn").find("i")
|
||||
.removeClass("icon-lock")
|
||||
.addClass("icon-ok");
|
||||
}
|
||||
else {
|
||||
$("#qlockbtn").removeClass("btn-success")
|
||||
.addClass("btn-danger")
|
||||
.text("Unlock Playlist");
|
||||
.attr("title", "Playlist Locked");
|
||||
$("#qlockbtn").find("i")
|
||||
.removeClass("icon-ok")
|
||||
.addClass("icon-lock");
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue