mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2026-01-15 12:15:02 +00:00
Use window.innerHeight instead
This commit is contained in:
@@ -40,7 +40,7 @@ class Document extends NextDocument {
|
||||
<Head />
|
||||
<body>
|
||||
<Script id="initialHeight" strategy="beforeInteractive">
|
||||
window.initialHeight = document.documentElement.clientHeight;
|
||||
window.initialHeight = window.innerHeight;
|
||||
</Script>
|
||||
<Main />
|
||||
<NextScript />
|
||||
|
||||
Reference in New Issue
Block a user