diff --git a/scene_search/web/index.html b/scene_search/web/index.html
index dc0d65f..05ba941 100644
--- a/scene_search/web/index.html
+++ b/scene_search/web/index.html
@@ -238,9 +238,9 @@
async function startIndex() {
const ids = selectedLibraries();
- if (!ids.length) {
- $('indexStatus').className = 'status error';
- $('indexStatus').textContent = 'Select at least one library.';
+ if (!ids.length && !window.confirm(
+ 'No libraries are selected. This will remove all Jellyfin-backed Scene Search data from SQLite and Meilisearch. Continue?'
+ )) {
return;
}
try {