diff --git a/src/App.svelte b/src/App.svelte index db20630..9ecb8a2 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -781,6 +781,7 @@ } function discardPendingOverlayDraft() { + if (!window.confirm('Discard the cached local overlay draft? This cannot be undone.')) return; if (selectedOverlayId) localStorage.removeItem(overlayDraftCacheKey(selectedOverlayId)); pendingOverlayDraft = null; }