Photo: Fix usage of same ID for transition

This commit is contained in:
2020-03-29 19:20:48 +02:00
parent 1e323ca8a9
commit 3e6a35f78f
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ export const animateIn = scope => {
const nbParallax = nbParallaxMedia => {
if (nbParallaxMedia.matches) {
const scroll = ScrollOut({
targets: scope.querySelector('#photo_number'),
targets: scope.querySelector('.photo_number span'),
onShown (el) {
const translate = anime({
targets: el,