artemsemkin

Untitled

Aug 10th, 2020
1,114
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Update Waypoint plugin on each scrolling tick
  2. var isFirstLoad = true;
  3.  
  4. if (isFirstLoad && typeof window.SB !== 'undefined' && typeof Waypoint !== 'undefined') {
  5.   window.SB.addListener(() => {
  6.     Waypoint.refreshAll();
  7.   });
  8.   isFirstLoad = false;
  9. }
RAW Paste Data