forked from GithubMirrors/cardconjurer
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>
|
<script defer src='js/main-1.js'></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<input hx
|
|
||||||
<div class='background'></div>
|
<div class='background'></div>
|
||||||
<header class='readable-background'>
|
<header class='readable-background'>
|
||||||
<h1 class='title center'>CARD CONJURER</h1>
|
<h1 class='title center'>CARD CONJURER</h1>
|
||||||
|
@@ -3397,7 +3397,7 @@ function writeText(textObject, targetContext) {
|
|||||||
rawText = rawText.replace(/{cardname}|~/ig, getInlineCardName());
|
rawText = rawText.replace(/{cardname}|~/ig, getInlineCardName());
|
||||||
}
|
}
|
||||||
if (document.querySelector('#info-artist').value == '') {
|
if (document.querySelector('#info-artist').value == '') {
|
||||||
rawText = rawText.replace('\uFFEE{elemidinfo-artist}', '');
|
rawText = rawText.replace('\uFFEE{savex2}{elemidinfo-artist}', '');
|
||||||
}
|
}
|
||||||
if (rawText.includes('///')) {
|
if (rawText.includes('///')) {
|
||||||
rawText = rawText.replace(/\/\/\//g, '{flavor}');
|
rawText = rawText.replace(/\/\/\//g, '{flavor}');
|
||||||
|
Reference in New Issue
Block a user