-
Notifications
You must be signed in to change notification settings - Fork 0
Functions
Marie-Louise edited this page Sep 21, 2018
·
3 revisions
/sites/all/themes/corp_base/assets/js/site/modules/event-listeners/stickables/index.js
for (let i = 0; i < stickables.length; i++) {
let stickable = stickables[i];
This is to see if the element or its parent has native sticky positioning, if so, move on
function example:
function max(a, b) {
if (a > b) {
return a;
} else {
return b;
}
}