Add noscript tag.

This commit is contained in:
tastytea 2019-10-31 08:52:15 +01:00
parent 57ddd7f6b9
commit c5e927b5f3
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
{{ partial "mastodon-api-comments-scripts.html" . }}
<p id="mastodon-api-comments_{{ $status_id }}" class="mastodon-api-comments"></p>
<noscript><p>Comments only work with JavaScript enabled.</p></noscript>
<script type="application/javascript">
fetch_mastodon_api_comments("{{ $instance }}", "{{ $status_id }}");
</script>