feat: Remove jquery usage in globals.js
This commit is contained in:
parent
8a17baed12
commit
9d15f22f5d
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ let hippie = {
|
||||||
w: Math.max(document.documentElement.offsetWidth, document.documentElement.clientWidth, window.innerWidth, 0),
|
w: Math.max(document.documentElement.offsetWidth, document.documentElement.clientWidth, window.innerWidth, 0),
|
||||||
vh: Math.max(document.documentElement.clientHeight, window.innerHeight, 0),
|
vh: Math.max(document.documentElement.clientHeight, window.innerHeight, 0),
|
||||||
dh: Math.max(document.documentElement.offsetHeight, document.documentElement.clientHeight, 0),
|
dh: Math.max(document.documentElement.offsetHeight, document.documentElement.clientHeight, 0),
|
||||||
y: Math.min($(document).scrollTop(), document.documentElement.scrollTop)
|
y: document.documentElement.scrollTop
|
||||||
// hippie.screen.y: document.documentElement.scrollTop
|
// hippie.screen.y: document.documentElement.scrollTop
|
||||||
},
|
},
|
||||||
body: {
|
body: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue