Skip to content

Commit f39c6fd

Browse files
committed
enable autplay
1 parent f52576e commit f39c6fd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/tmp/*
77
/vendor/*
88
/webroot/css/cake.css
9+
/webroot/js/app.js
910

1011
# OS generated files #
1112
######################

resources/js/app.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ const initializeFeaturedPackagesSlider = () => {
3333
slidesPerView: 1,
3434
spaceBetween: 24,
3535
grabCursor: true,
36-
// autoplay: {
37-
// delay: 4000,
38-
// disableOnInteraction: false,
39-
// pauseOnMouseEnter: true,
40-
// },
36+
autoplay: {
37+
delay: 4000,
38+
disableOnInteraction: false,
39+
pauseOnMouseEnter: true,
40+
},
4141
navigation: {
4242
nextEl: '[data-featured-packages-next]',
4343
prevEl: '[data-featured-packages-prev]',

webroot/js/app.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)