diff --git a/www/js/util.js b/www/js/util.js index b24387de..38b86088 100644 --- a/www/js/util.js +++ b/www/js/util.js @@ -2514,6 +2514,11 @@ function formatUserPlaylistList() { .attr("title", "Delete playlist") .appendTo(btns) .click(function () { + var really = confirm("Are you sure you want to delete" + + " this playlist? This cannot be undone."); + if (!really) { + return; + } socket.emit("deletePlaylist", { name: pl.name });