diff --git a/templates/watch.html b/templates/watch.html
index 100c4d0..cd7b5df 100644
--- a/templates/watch.html
+++ b/templates/watch.html
@@ -104,16 +104,13 @@
}
function deleteFromDisk() {
- if (!confirm('Are you sure you want to delete this video from disk? This cannot be undone.')) return;
-
fetch('/api/videos/{{ video.id }}/file', {
method: 'DELETE'
})
.then(response => response.json())
.then(data => {
if (data.status === 'success') {
- alert('Video deleted from disk! This page will refresh automatically.');
- setTimeout(() => location.reload(), 2000);
+ location.reload();
} else {
alert('Failed to delete video: ' + data.message);
}