diff options
author | Rich Trott <rtrott@gmail.com> | 2021-01-14 19:56:09 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2021-01-17 06:11:58 +0300 |
commit | f658bd1e8f7cd0a328c10c8d2a4eea6cf113122b (patch) | |
tree | 201b7ee0bce1a64a04c413f787224e1da56f986c /doc/template.html | |
parent | 433afd9e3969481917237f340cf7900269c4acf0 (diff) |
doc: fix invalid HTML in doc template
Move the script tag for dark mode support inside the body tag.
PR-URL: https://github.com/nodejs/node/pull/36930
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/template.html')
-rw-r--r-- | doc/template.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/template.html b/doc/template.html index 675a761bd80..51f3738e1be 100644 --- a/doc/template.html +++ b/doc/template.html @@ -66,8 +66,7 @@ </div> </div> </div> -</body> -<script> + <script> 'use strict'; { const kCustomPreference = 'customDarkTheme'; @@ -102,5 +101,6 @@ }); } } -</script> + </script> +</body> </html> |