Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-01-14 19:56:09 +0300
committerRich Trott <rtrott@gmail.com>2021-01-17 06:11:58 +0300
commitf658bd1e8f7cd0a328c10c8d2a4eea6cf113122b (patch)
tree201b7ee0bce1a64a04c413f787224e1da56f986c /doc/template.html
parent433afd9e3969481917237f340cf7900269c4acf0 (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.html6
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>