minor html cleanup

This commit is contained in:
nai-degen 2023-09-10 13:30:23 -05:00
parent 437fe1e720
commit 66f1d809ec
1 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@
<li><code>{{stats}}</code></li>
<li><code>{{time}}</code></li>
</ul></label>
<textarea id="format" name="format" rows="10" cols="50" placeholder="{{stats}}" ">
<textarea id="format" name="format" rows="10" cols="50" placeholder="{{stats}}">
# Stats
{{header}}
{{stats}}
@ -77,7 +77,7 @@
</textarea>
</div>
<div>
<button type=" submit">Download</button>
<button type="submit">Download</button>
<button id="copyButton" type="button">Copy to Clipboard</button>
</div>
</form>
@ -130,7 +130,7 @@
const content = await response.text();
copyToClipboard(content);
} else {
console.error('Failed to fetch markdown content');
throw new Error('Failed to fetch generated stats. Try reloading the page.');
}
}