From 69035e974c7772791376bf9dd9ab99d761e7887e Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 30 Nov 2006 03:27:21 +0000 Subject: Make autoscroll interval work in internet explorer. --- www/ajax/rrdui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } } } -- cgit v1.2.3