|
|
@ -236,6 +236,12 @@ |
|
|
|
// get result |
|
|
|
let result = undefined; |
|
|
|
|
|
|
|
if (window.pageYOffset > offset) { |
|
|
|
this.$('body').classList.add('is-scrolling'); |
|
|
|
} else { |
|
|
|
this.$('body').classList.remove('is-scrolling'); |
|
|
|
} |
|
|
|
|
|
|
|
elements.forEach(function(element, index) { |
|
|
|
|
|
|
|
// getting target |