change delete redirect from main page to /random !!

This commit is contained in:
x
2026-01-24 09:11:54 +01:00
parent d691680682
commit f488559e2e

View File

@@ -216,7 +216,7 @@
confirmBtn.disabled = false; confirmBtn.disabled = false;
} else { } else {
closeModal(); closeModal();
window.location.href = '/'; window.location.href = '/random';
} }
} catch (e) { } catch (e) {
alert('Error: ' + e); // Or e.message alert('Error: ' + e); // Or e.message