Define triggerEvent() out of the checkScroll() scope. Declare it has a function, not an anonymous function in variable
Define triggerEvent() out of the checkScroll() scope. Declare it has a function, not an anonymous function in variable

JeremiePat/jquery-scrollpoint,JeremiePat/jquery-scrollpoint