mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update creator-23.js
This commit is contained in:
@@ -1945,6 +1945,7 @@ function saveCard(saveFromFile) {
|
||||
cardKey = prompt('Enter the name you would like to save your card under:', cardKey);
|
||||
if (!cardKey) {return null;}
|
||||
}
|
||||
cardKey = cardKey.trim();
|
||||
if (cardKeys.includes(cardKey)) {
|
||||
if (!confirm('Would you like to overwrite your card previously saved as "' + cardKey + '"?\n(Clicking "cancel" will affix a version number)')) {
|
||||
var originalCardKey = cardKey;
|
||||
|
Reference in New Issue
Block a user