Skip to content
Snippets Groups Projects
Commit 0cc97bf9 authored by Barnabás Czémán's avatar Barnabás Czémán
Browse files

Set slideshow initialSlide to random

parent 912b053e
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@ const settings = {
slidesToScroll: 1,
centerMode: true,
lazyLoad: true,
initialSlide: Math.floor((Math.random() * 32) + 1),
};
const range = (count) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment