minor html cleanup
This commit is contained in:
parent
437fe1e720
commit
66f1d809ec
|
@ -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.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue