diff --git a/frontend/index.html b/frontend/index.html index 15e5d91..5a7b03b 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3058,7 +3058,7 @@

Quality Score

} document.getElementById('clearHistoryBtn').addEventListener('click', () => { - if (!confirm('Clear all history? This cannot be undone.')) return; + if (!window.confirm('Are you sure you want to clear your history? This cannot be undone.')) return; history = []; localStorage.removeItem('qyx_history'); @@ -3115,7 +3115,7 @@

Quality Score

} document.getElementById('clearFavsBtn').addEventListener('click', () => { - if (!confirm('Clear all favorites? This cannot be undone.')) return; + if (!window.confirm('Are you sure you want to clear your favorites? This cannot be undone.')) return; favorites = []; localStorage.removeItem('qyx_favorites');