aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@frank.tg14.gathering.org>2014-04-18 16:20:01 +0200
committerroot <root@frank.tg14.gathering.org>2014-04-18 16:20:01 +0200
commit3f6378f9f87f13d64e514bbc6086007a74be0979 (patch)
treed123a928d44b7790e250f6b1890b32f2c0841747
parentac3714f34480fbc79c02e2abdee1e1fdcc7d2db8 (diff)
Tweak the gradients a bit.
-rw-r--r--web/nms.gathering.org/ping.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/nms.gathering.org/ping.js b/web/nms.gathering.org/ping.js
index cdcfdd1..75d8190 100644
--- a/web/nms.gathering.org/ping.js
+++ b/web/nms.gathering.org/ping.js
@@ -116,7 +116,7 @@ function gradient_from_latency(latency_ms, latency_secondary_ms) {
if (latency_secondary_ms === undefined) {
return rgb_from_latency(latency_ms);
}
- return 'linear-gradient(to bottom right, ' +
+ return 'linear-gradient(' +
rgb_from_latency(latency_ms) + ', ' +
rgb_from_latency(latency_secondary_ms) + ')';
}