mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update js/creator-23.js
Co-authored-by: ForgeThrall <14297794+ForgeThrall@users.noreply.github.com>
This commit is contained in:
@@ -892,7 +892,7 @@ function writeText(textObject, targetContext) {
|
|||||||
if (rawText == 'none') { rawText = ''; }
|
if (rawText == 'none') { rawText = ''; }
|
||||||
}
|
}
|
||||||
if (rawText.toLowerCase().includes('{cardname}' || '~')) {
|
if (rawText.toLowerCase().includes('{cardname}' || '~')) {
|
||||||
rawText = rawText.replace(/{cardname}/ig, getCardName());
|
rawText = rawText.replace(/{cardname}|~/ig, getCardName());
|
||||||
}
|
}
|
||||||
if (document.querySelector('#info-artist').value == '') {
|
if (document.querySelector('#info-artist').value == '') {
|
||||||
rawText = rawText.replace('\uFFEE{elemidinfo-artist}', '');
|
rawText = rawText.replace('\uFFEE{elemidinfo-artist}', '');
|
||||||
|
Reference in New Issue
Block a user