clearing things up

This commit is contained in:
Kyle
2021-01-12 20:42:23 -08:00
parent d2e8dbee16
commit a34878fcb9
3 changed files with 25 additions and 13 deletions

View File

@@ -1284,7 +1284,7 @@ function deleteCard() {
}
}
function deleteSavedCards() {
if (confirm('WARNING:\n\nALL of your saved cards will be deleted! If you would like to save these cards, please make sure you have downloaded them first. There is no way to undo this.')) {
if (confirm('WARNING:\n\nALL of your saved cards will be deleted! If you would like to save these cards, please make sure you have downloaded them first. There is no way to undo this.\n\n(Press "OK" to delete your cards)')) {
var cardKeys = JSON.parse(localStorage.getItem('cardKeys'));
cardKeys.forEach(key => localStorage.removeItem(key));
localStorage.setItem('cardKeys', JSON.stringify([]));