mirror of
https://github.com/RoastSlav/quickdrop.git
synced 2026-05-12 15:29:40 -05:00
added delete confirmations
This commit is contained in:
@@ -48,6 +48,10 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
}
|
||||
});
|
||||
|
||||
function confirmDelete() {
|
||||
return confirm("Are you sure you want to delete this file? This action cannot be undone.");
|
||||
}
|
||||
|
||||
function updateCheckboxState(event, checkbox) {
|
||||
event.preventDefault();
|
||||
const hiddenField = checkbox.form.querySelector('input[name="keepIndefinitely"][type="hidden"]');
|
||||
|
||||
Reference in New Issue
Block a user