forked from tsc-vfl/hugo-page
Avoid logging of debug messages in slider
This commit is contained in:
parent
8da576c7be
commit
def36aa1fc
@ -18,7 +18,6 @@ $(function () {
|
|||||||
|
|
||||||
function showImage(idxidx) {
|
function showImage(idxidx) {
|
||||||
const idx = shuffeledIndices[idxidx]
|
const idx = shuffeledIndices[idxidx]
|
||||||
console.log("switching to index", idx, ' using idxidx ', idxidx)
|
|
||||||
const imgs = $('#header .slider .slider-img')
|
const imgs = $('#header .slider .slider-img')
|
||||||
imgs.eq(idx).removeClass('hidden')
|
imgs.eq(idx).removeClass('hidden')
|
||||||
imgs.filter((i, e) => {return i != idx}).addClass('hidden')
|
imgs.filter((i, e) => {return i != idx}).addClass('hidden')
|
||||||
|
Loading…
Reference in New Issue
Block a user