From ba923b884a2678b5100e6defd07c9b7adb48bf30 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 24 Jul 2018 13:12:41 +0000 Subject: Don't know if it matters, but tried to stop chacheing. --- www/scripts/main.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'www/scripts') diff --git a/www/scripts/main.js b/www/scripts/main.js index d989803..dc7e001 100644 --- a/www/scripts/main.js +++ b/www/scripts/main.js @@ -48,17 +48,11 @@ function WebRequest(url, func, args) { var f; + url += "?t=" + Math.random(); + for(f = 0; f < args.length; f += 2) { - if (f == 0) - { - url += "?"; - } - else - { - url += "&"; - } - + url += "&"; url += args[f] + "="; url += encodeURIComponent(args[f+1]); } -- cgit v1.2.3