From c124dd4a4d501e05bbfc87a1cd62a45f917fd32f Mon Sep 17 00:00:00 2001 From: Stephan Schwaer Date: Tue, 15 Mar 2016 15:35:35 +0100 Subject: Fixed typo in calculation. --- static/status-dnbd3.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static') diff --git a/static/status-dnbd3.html b/static/status-dnbd3.html index 0971f8a..6b4e68d 100644 --- a/static/status-dnbd3.html +++ b/static/status-dnbd3.html @@ -157,8 +157,8 @@ function myGraph(el) { // link.downloadRate = 30000; // fading speed - var fadingValue = (link.colorIntensity*0,85) - 200; - if (fadingValue > 0) link.colorIntensity = fadingValue; + var fadingValue = (link.colorIntensity*0,85) + 100; + if (fadingValue > 0) link.colorIntensity -= fadingValue; if (link.colorIntensity < 0) link.colorIntensity = 0; link.colorIntensity += link.downloadRate; -- cgit v1.2.3-55-g7522