diff --git a/app/static/js/ascroll.js b/app/static/js/ascroll.js index f68dd93..8944d57 100644 --- a/app/static/js/ascroll.js +++ b/app/static/js/ascroll.js @@ -110,7 +110,11 @@ function timeupdate(event) { event.target.pause() } */ - event.target.currentTime = in_ + if (config.pause) { + event.target.pause() + } else { + event.target.currentTime = in_ + } } } }