diff --git a/www/assets/js/ui.js b/www/assets/js/ui.js
index 5fe67adf..e021ce0f 100644
--- a/www/assets/js/ui.js
+++ b/www/assets/js/ui.js
@@ -337,30 +337,6 @@ $(window).resize(function() {
$("#ytapiplayer").attr("height", VHEIGHT);
});
-/* first time */
-if(USEROPTS.first_visit) {
- var al = makeAlert("Playlist Options", [
- "From the Options menu, you can choose to automatically",
- " hide the buttons on each entry (and show them when",
- " you right click). You can also choose to use the old",
- " style of playlist buttons.",
- "
"].join(""))
- .addClass("span12")
- .insertBefore($("#queue"));
-
- al.find(".close").remove();
-
- $("").addClass("btn btn-primary")
- .text("Dismiss")
- .appendTo(al)
- .click(function() {
- USEROPTS.first_visit = false;
- saveOpts();
- al.hide("blind", function() {
- al.remove();
- });
- });
-}
/* initial YouTube api */
diff --git a/www/assets/js/util.js b/www/assets/js/util.js
index 95cec3ef..b3ce06ea 100644
--- a/www/assets/js/util.js
+++ b/www/assets/js/util.js
@@ -752,6 +752,36 @@ function handlePermissionChange() {
$("#queue_next").attr("disabled", !hasPermission("playlistnext"));
setVisible("#qlockbtn", CLIENT.rank >= 2);
+ if(hasPermission("playlistadd") ||
+ hasPermission("playlistmove") ||
+ hasPermission("playlistjump") ||
+ hasPermission("playlistdelete") ||
+ hasPermission("settemp")) {
+ if(USEROPTS.first_visit) {
+ var al = makeAlert("Playlist Options", [
+ "From the Options menu, you can choose to automatically",
+ " hide the buttons on each entry (and show them when",
+ " you right click). You can also choose to use the old",
+ " style of playlist buttons.",
+ "
"].join(""))
+ .addClass("span12")
+ .insertBefore($("#queue"));
+
+ al.find(".close").remove();
+
+ $("").addClass("btn btn-primary")
+ .text("Dismiss")
+ .appendTo(al)
+ .click(function() {
+ USEROPTS.first_visit = false;
+ saveOpts();
+ al.hide("blind", function() {
+ al.remove();
+ });
+ });
+ }
+ }
+
if(hasPermission("playlistmove")) {
$("#queue").sortable("enable");
$("#queue").addClass("queue_sortable");