This commit is contained in:
@@ -10,7 +10,7 @@ export const animateIn = scope => {
|
||||
// Each location (reveal on scroll)
|
||||
const locations = ScrollOut({
|
||||
targets: scope.querySelectorAll('.location'),
|
||||
onShown (el) {
|
||||
onShown: el => {
|
||||
// Image
|
||||
anime({
|
||||
targets: el.querySelector('img'),
|
||||
|
||||
Reference in New Issue
Block a user