perf: defer enhance-content script
This commit is contained in:
parent
77a31d11d4
commit
f7abcbec00
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@
|
||||||
import TimeAgo from "https://esm.sh/v135/@github/relative-time-element@4.4.0/es2022/relative-time.js"
|
import TimeAgo from "https://esm.sh/v135/@github/relative-time-element@4.4.0/es2022/relative-time.js"
|
||||||
customElements.define('relative-time', TimeAgo)
|
customElements.define('relative-time', TimeAgo)
|
||||||
</script>
|
</script>
|
||||||
<script type="module" src="{{ url_for('threads.static', filename='enhance-content.js') }}">
|
<script defer type="module" src="{{ url_for('threads.static', filename='enhance-content.js') }}">
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue