confirm overlay draft discard
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user