|
@ -237,9 +237,9 @@ |
|
|
let result = undefined; |
|
|
let result = undefined; |
|
|
|
|
|
|
|
|
if (window.pageYOffset > offset) { |
|
|
if (window.pageYOffset > offset) { |
|
|
this.$('body').classList.add('is-scrolling'); |
|
|
|
|
|
|
|
|
document.querySelector('body').classList.add('is-scrolling'); |
|
|
} else { |
|
|
} else { |
|
|
this.$('body').classList.remove('is-scrolling'); |
|
|
|
|
|
|
|
|
document.querySelector('body').classList.remove('is-scrolling'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
elements.forEach(function(element, index) { |
|
|
elements.forEach(function(element, index) { |
|
|