enable timeout
This commit is contained in:
parent
54896ff1c3
commit
440a78b691
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue