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