# January 14, 2021

# JMS JF Campaigns

  • misc turnbacks

# BSH recipe name fix

# Team meeting

# JMS JF Campaigns

  • scroll on form completion

# FIQ

  • add CSP

# JMS JF Campaigns

// See https://developer.mozilla.org/en-US/docs/Web/Events/scroll

var lastScrollPosition = 0,
    tick = false;  // Track whether call is currently in process

function customFunction (scrollPos) {
  // Custom function that does something
  // based on the scroll position
}

window.addEventListener('scroll', function(e) {
  lastScrollPosition = window.scrollY;
  if (!tick) {
    setTimeout(function () {
      customFunction(lastScrollPosition);
      tick = false;
    }, 16)
  }
  tick = true;
});

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

# BSH Restore missing PDFs

# JMS JF Campaigns

  • portfolio turnbacks
Last Updated: 2/1/2021, 5:23:23 PM