summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-07-19 13:49:10 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-07-19 14:22:13 +0100
commit076c96dad31f1acdab6b28383ee28a72542d0098 (patch)
treeeb5362a88ee3945c19b5ffd1fec62344768cc3b3 /src
parent7ba959a94342f4a6c3745441db1454bc0b6bb366 (diff)
downloadleaflet-soton-076c96dad31f1acdab6b28383ee28a72542d0098.tar
leaflet-soton-076c96dad31f1acdab6b28383ee28a72542d0098.tar.gz
Fix loading without caching
Diffstat (limited to 'src')
-rw-r--r--src/leaflet-soton.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leaflet-soton.js b/src/leaflet-soton.js
index 81aad08..ded6bf8 100644
--- a/src/leaflet-soton.js
+++ b/src/leaflet-soton.js
@@ -1552,7 +1552,7 @@ SELECT * WHERE {\
url += "?" + new Date().getTime();
}
- xhttp.open('GET', options.url, true);
+ xhttp.open('GET', url, true);
xhttp.setRequestHeader('Accept', 'application/json');
xhttp.send(options.data);