Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3058,7 +3058,7 @@ <h3>Quality Score</h3>
}

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');
Expand Down Expand Up @@ -3115,7 +3115,7 @@ <h3>Quality Score</h3>
}

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');
Expand Down