From 4cfb0fc9c3caf555285452ac1d8f5c6751364d33 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Wed, 9 Nov 2016 12:29:41 +0100 Subject: Force graph reloading ... sigh... There really should be a way to make it obey cache-control instead of this rubbish. --- web/js/nms-info-box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js/nms-info-box.js') diff --git a/web/js/nms-info-box.js b/web/js/nms-info-box.js index c2036cc..1aa54c3 100644 --- a/web/js/nms-info-box.js +++ b/web/js/nms-info-box.js @@ -1145,7 +1145,7 @@ nmsInfoBox._graphDefaults = function(title) { } else { title = "From " + nmsInfoBox._graphFrom + " until " + nmsInfoBox._graphUntil; } - var base = "&yMinLeft=0&yMinRight=0&yMin=0&bgcolor=%23ffffff00&fontName=courier&width=600&height=240&yUnitSystem=binary&format=svg&from=" + nmsInfoBox._graphFrom + "&until=" + nmsInfoBox._graphUntil + '&title=' + title; + var base = "&yMinLeft=0&yMinRight=0&yMin=0&bgcolor=%23ffffff00&fontName=courier&width=600&height=240&yUnitSystem=binary&format=svg&from=" + nmsInfoBox._graphFrom + "&until=" + nmsInfoBox._graphUntil + '&title=' + title + "&lolBuster=" + Math.floor(new Date().getTime() / 30000); if (nms.nightMode) { return "&fgcolor=%23dddddd&minorGridLineColor=%233d3d3d&majorGridLineColor=%23666666" + base; } else { -- cgit v1.2.3