Added mobile check to scroll event
This commit is contained in:
@@ -59,6 +59,8 @@ class MainSectionContainer extends React.Component {
|
||||
|
||||
scrollEvent = (e) => {
|
||||
|
||||
if (!mobileCheck()) return;
|
||||
|
||||
const scrollY = window.pageYOffset;
|
||||
const windowY = document.documentElement.scrollHeight;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user