diff options
-rw-r--r-- | www/ajax/rrdui.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/ajax/rrdui.js b/www/ajax/rrdui.js index f6c907e..4a776cb 100644 --- a/www/ajax/rrdui.js +++ b/www/ajax/rrdui.js @@ -176,7 +176,8 @@ function displayCurrentPage() { /* Bump up auto scroll interval to 5 seconds */ var interval = img._tinterval < 5 ? 5 : img._tinterval; - window.setInterval(autoScroll, interval * 1000, img); + window.setInterval(function() { autoScroll(img); }, + interval * 1000); } } } |