mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
changing the year
This commit is contained in:
@@ -529,7 +529,7 @@ function writeText(textObjectList, targetContext) {
|
||||
for (var i = 0; i < textObjectList.length; i++) {
|
||||
//FINDME - TESTING PURPOSES ONLY
|
||||
if (URLParams.get('copyright') != null && textObjectList[i].text.includes('\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast') && currentVersion.includes('bleedEdge')) {
|
||||
textObjectList[i].text = textObjectList[i].text.replace('\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', URLParams.get('copyright'))
|
||||
textObjectList[i].text = textObjectList[i].text.replace('\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', URLParams.get('copyright'))
|
||||
}
|
||||
if (!rewritingLine) {
|
||||
textSize = scaleY(textObjectList[i].fontSize)
|
||||
|
Reference in New Issue
Block a user