home > slideshow : working
All checks were successful
Deploy / Deploy to Production (push) Successful in 2s
All checks were successful
Deploy / Deploy to Production (push) Successful in 2s
This commit is contained in:
parent
13040a9df3
commit
47e30e8d61
8 changed files with 118 additions and 63 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const slideshow = document.getElementById('home-slideshow');
|
||||
|
||||
if (slideshow) {
|
||||
const items = [...slideshow.querySelectorAll('picture, video')];
|
||||
const items = [...slideshow.querySelectorAll('.slide')];
|
||||
const prev = slideshow.querySelector('.prev');
|
||||
const next = slideshow.querySelector('.next');
|
||||
let current = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue