enable timeout
This commit is contained in:
parent
54896ff1c3
commit
440a78b691
|
@ -26,8 +26,8 @@ function go(idx) {
|
||||||
clearTimeout(timeout)
|
clearTimeout(timeout)
|
||||||
timeout = null
|
timeout = null
|
||||||
}
|
}
|
||||||
//timeout = setTimeout(next, Math.round(slides[current].dataset.duration) * 1000)
|
timeout = setTimeout(next, Math.round(slides[current].dataset.duration) * 1000)
|
||||||
//
|
|
||||||
stop(old)
|
stop(old)
|
||||||
start(current)
|
start(current)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user