diff --git a/pages/_document.tsx b/pages/_document.tsx
index aad13d7..a0d4dd6 100644
--- a/pages/_document.tsx
+++ b/pages/_document.tsx
@@ -4,13 +4,13 @@ import Document, { Html, Head, Main, NextScript } from 'next/document'
class MyDocument extends Document {
render() {
return (
-
+
-
+
+
-
+
)
diff --git a/public/js/onload.js b/public/js/onload.js
index aa89e75..80223b7 100644
--- a/public/js/onload.js
+++ b/public/js/onload.js
@@ -1,5 +1,5 @@
;(function () {
window.addEventListener('load', function () {
- document.body.classList.remove('preload')
+ document.documentElement.classList.remove('preload')
})
})()