Skip to content

Commit

Permalink
Not force move the slick carousel to the first slide by default
Browse files Browse the repository at this point in the history
  • Loading branch information
franrou committed Oct 28, 2024
1 parent c0742e7 commit e94ce54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ module.exports = async (page, scenario, config) => {
'autoplay': false,
}, true);
});
}

$(carousel).slick('slickGoTo', 0, true);
$(carousel).slick('slickGoTo', 0, true);
}
});
if (slickCarousels.length > 0) {
const head = document.head || document.getElementsByTagName('head')[0];
Expand Down

0 comments on commit e94ce54

Please sign in to comment.