Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Update Waypoint plugin on each scrolling tick
- var isFirstLoad = true;
- if (isFirstLoad && typeof window.SB !== 'undefined' && typeof Waypoint !== 'undefined') {
- window.SB.addListener(() => {
- Waypoint.refreshAll();
- });
- isFirstLoad = false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement