mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Merge branch 'master' of https://github.com/joshbirnholz/cardconjurer
This commit is contained in:
@@ -2286,7 +2286,7 @@ function writeText(textObject, targetContext) {
|
||||
rawText = params.get('copyright'); //so people using CC for custom card games without WotC's IP can customize their copyright info
|
||||
if (rawText == 'none') { rawText = ''; }
|
||||
}
|
||||
if (rawText.toLowerCase().includes('{cardname}' || '~')) {
|
||||
if (rawText.toLowerCase().includes('{cardname}') || rawText.toLowerCase().includes('~')) {
|
||||
rawText = rawText.replace(/{cardname}|~/ig, getCardName());
|
||||
}
|
||||
if (document.querySelector('#info-artist').value == '') {
|
||||
|
Reference in New Issue
Block a user