Added mobile check to scroll event

This commit is contained in:
subnub
2020-05-15 03:43:04 -04:00
parent 93d4e9fd90
commit 37022ec391
+2
View File
@@ -59,6 +59,8 @@ class MainSectionContainer extends React.Component {
scrollEvent = (e) => {
if (!mobileCheck()) return;
const scrollY = window.pageYOffset;
const windowY = document.documentElement.scrollHeight;