Photo: Fix usage of same ID for transition
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user