Another slight playlist button tweak

This commit is contained in:
calzoneman 2013-06-20 17:15:41 -04:00
parent 8251a29b8d
commit b5b3a88f88
1 changed files with 3 additions and 2 deletions

View File

@ -261,7 +261,8 @@ function addQueueButtons(li) {
.appendTo(menu);
}
if(USEROPTS.qbtn_hide && !USEROPTS.qbtn_idontlikechange)
if(USEROPTS.qbtn_hide && !USEROPTS.qbtn_idontlikechange
|| menu.find(".btn").length == 0)
menu.hide();
// I DON'T LIKE CHANGE
@ -277,7 +278,7 @@ function addQueueButtons(li) {
menu.find(".qbtn-play").addClass("btn-success");
menu.find(".qbtn-delete").addClass("btn-danger");
}
else {
else if(menu.find(".btn").length != 0) {
li.contextmenu(function(ev) {
ev.preventDefault();
if(menu.css("display") == "none")