Dedupe playlist option notification

This commit is contained in:
calzoneman 2013-07-29 20:06:01 -04:00
parent 995b92ebed
commit 17c733be44
2 changed files with 6 additions and 3 deletions

View file

@ -837,7 +837,7 @@ function handlePermissionChange() {
hasPermission("playlistjump") ||
hasPermission("playlistdelete") ||
hasPermission("settemp")) {
if(USEROPTS.first_visit) {
if(USEROPTS.first_visit && $("#plonotification").length == 0) {
var al = makeAlert("Playlist Options", [
"From the Options menu, you can choose to automatically",
" hide the buttons on each entry (and show them when",
@ -845,6 +845,7 @@ function handlePermissionChange() {
" style of playlist buttons.",
"<br>"].join(""))
.addClass("span12")
.attr("id", "plonotification")
.insertBefore($("#queue"));
al.find(".close").remove();