削除を難しくする

This commit is contained in:
yuukiwww
2024-04-19 08:33:26 +00:00
parent f0be4a7074
commit 9ae556bfea
3 changed files with 14 additions and 2 deletions

View File

@@ -600,7 +600,9 @@ class SongSelect{
this.toDownload()
}else if(moveBy === 3){
// ここに削除処理を書く
alert("準備はいいですか? (成功しても反映まで1分ほどかかる場合があります)");
if (!confirm("本当に削除しますか?\n成功しても反映まで1分ほどかかる場合があります")) {
return;
}
fetch("/api/delete", {
method: "POST",
headers: {