mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-29 23:44:10 +02:00
Remove type and language attributes of script element
The `type` attribute is not needed when the content is JavaScript, and the `language` attribute is deprecated. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
8ab2988824
commit
16a240cef0
|
|
@ -7,4 +7,4 @@
|
||||||
|
|
||||||
*/}}
|
*/}}
|
||||||
{{ $toc := resources.Get "js/toc.js" -}}
|
{{ $toc := resources.Get "js/toc.js" -}}
|
||||||
<script defer language="javascript" type="text/javascript" src="{{ $toc.RelPermalink }}"></script>
|
<script defer src="{{ $toc.RelPermalink }}"></script>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue