2022-05-03 20:50:57 +02:00
|
|
|
import Events from '../../_events'
|
|
|
|
import Routie from 'routie'
|
2019-06-08 17:20:51 +02:00
|
|
|
|
|
|
|
$(window).on(`${Events.AJAX} ${Events.LOADED}`, () => {
|
|
|
|
Routie({
|
2021-08-18 20:51:15 +02:00
|
|
|
navigation: function () {
|
2022-05-03 20:50:57 +02:00
|
|
|
$('#NavbarCollapse').addClass('in')
|
2019-06-08 17:20:51 +02:00
|
|
|
},
|
2022-05-03 20:50:57 +02:00
|
|
|
'carousel:id:num': function (id, num) {
|
|
|
|
$(`#Carousel${id}`).carousel(num)
|
2019-06-08 17:20:51 +02:00
|
|
|
},
|
2022-05-03 20:50:57 +02:00
|
|
|
})
|
|
|
|
})
|