This commit is contained in:
@@ -77,11 +77,11 @@
|
||||
// On init, send an event to the Carousel component with the photoSlug to set currentIndex and then change the photo
|
||||
|
||||
// Pop event from browser (prev/next)
|
||||
// const changedUrl = event => {
|
||||
// dispatch('changedUrl', {
|
||||
// location: event.target.location
|
||||
// })
|
||||
// }
|
||||
const changedUrl = event => {
|
||||
dispatch('changedUrl', {
|
||||
currentPhoto: currentPhoto
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user