mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-25 12:25:02 -05:00
Fix minor bugs (#17)
* Remove broken input element * Fix drawing bottom info without artist credit
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
<script defer src='js/main-1.js'></script>
|
||||
</head>
|
||||
<body>
|
||||
<input hx
|
||||
<div class='background'></div>
|
||||
<header class='readable-background'>
|
||||
<h1 class='title center'>CARD CONJURER</h1>
|
||||
|
@@ -3397,7 +3397,7 @@ function writeText(textObject, targetContext) {
|
||||
rawText = rawText.replace(/{cardname}|~/ig, getInlineCardName());
|
||||
}
|
||||
if (document.querySelector('#info-artist').value == '') {
|
||||
rawText = rawText.replace('\uFFEE{elemidinfo-artist}', '');
|
||||
rawText = rawText.replace('\uFFEE{savex2}{elemidinfo-artist}', '');
|
||||
}
|
||||
if (rawText.includes('///')) {
|
||||
rawText = rawText.replace(/\/\/\//g, '{flavor}');
|
||||
|
Reference in New Issue
Block a user