diff options
Diffstat (limited to 'web/nms.gathering.org/ping.js')
-rw-r--r-- | web/nms.gathering.org/ping.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/nms.gathering.org/ping.js b/web/nms.gathering.org/ping.js index c3d2c63..3b99257 100644 --- a/web/nms.gathering.org/ping.js +++ b/web/nms.gathering.org/ping.js @@ -116,9 +116,9 @@ function gradient_from_latency(latency_ms, latency_secondary_ms) { if (latency_secondary_ms === undefined) { return rgb_from_latency(latency_ms); } - return '-webkit-gradient(linear, left top, left bottom, ' + - 'from(' + rgb_from_latency(latency_ms) + '), ' + - 'to(' + rgb_from_latency(latency_secondary_ms) + '))'; + return 'linear-gradient(to bottom right, ' + + rgb_from_latency(latency_ms) + ', ' + + rgb_from_latency(latency_secondary_ms) + ')'; } function rgb_from_latency(latency_ms) { |