forked from github.com/GenderDysphoria.fyi
Migrate to Node 16 (#118)
* Node 16: fix build dependencies * Node 16: fix Bootstrap dependency problem * Node 16: fix error in HTML writer * Node 16: move await to proper place (h/t alliejones)
This commit is contained in:
2
js/_i.js
2
js/_i.js
@@ -39,7 +39,7 @@
|
||||
window.document.body.offsetHeight,
|
||||
window.document.documentElement.clientHeight,
|
||||
window.document.documentElement.scrollHeight,
|
||||
window.document.documentElement.offsetHeight,
|
||||
window.document.documentElement.offsetHeight
|
||||
);
|
||||
|
||||
const viewport_height = Math.max(window.document.documentElement.clientHeight, window.innerHeight || 0);
|
||||
|
||||
Reference in New Issue
Block a user