diff --git a/FCLauncher/src/admin.js b/FCLauncher/src/admin.js index e471a6d..11565a5 100644 --- a/FCLauncher/src/admin.js +++ b/FCLauncher/src/admin.js @@ -110,7 +110,7 @@ function add(){ } function remove(){ - invoke("remove_pack", {id: selected_pack}).then(refresh); + ask("Are you sure you want to remove " + document.getElementById(selected_pack).textContent + "?", {title: "Are you sure?", type: "Message"}).then((value) => { if (value) { invoke("remove_pack", {id: selected_pack}).then(refresh); } }); } async function browse(){