enable timeout

This commit is contained in:
j 2018-03-09 21:47:37 +05:30
parent 54896ff1c3
commit 440a78b691

View File

@ -26,8 +26,8 @@ function go(idx) {
clearTimeout(timeout)
timeout = null
}
//timeout = setTimeout(next, Math.round(slides[current].dataset.duration) * 1000)
//
timeout = setTimeout(next, Math.round(slides[current].dataset.duration) * 1000)
stop(old)
start(current)
}