summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-05-14 09:29:35 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-05-14 09:29:35 +0100
commit524482579b3e5e0eb9f8234e91d73e74dfe03b23 (patch)
treef93bd202f29b5e414269579e27ab23e0b052b228 /src
parent96a1f068525356d96713c02e50debe1b18fde6fc (diff)
downloadleaflet-soton-524482579b3e5e0eb9f8234e91d73e74dfe03b23.tar
leaflet-soton-524482579b3e5e0eb9f8234e91d73e74dfe03b23.tar.gz
Fix bus time issue
The identifier extracted from the URI was wrong.
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 3e6ffc3..23dc857 100644
--- a/src/leaflet-soton.js
+++ b/src/leaflet-soton.js
@@ -1305,7 +1305,7 @@ SELECT * WHERE {\
content.appendChild(routeList);
var IFrame = document.createElement('iframe');
- IFrame.setAttribute('src', 'http://bus.southampton.ac.uk/bus-stop-iframe/' + properties.uri.slice(42) + ".html")
+ IFrame.setAttribute('src', 'http://bus.southampton.ac.uk/bus-stop-iframe/' + properties.uri.slice(37) + ".html")
IFrame.setAttribute('frameBorder', '0');
IFrame.setAttribute('style', 'width: 100%; height 100%;');