summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-09-27 15:59:40 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-09-27 16:00:01 +0100
commit0c510470b5c5d2910955187d4ec94c89840bb571 (patch)
treea4d9fe8ba6aface47df6f908e189b80ccfc1a163
parentbb828eb90b274d714f0a6e84a8dbb9ddd6c86689 (diff)
downloadleaflet-soton-0c510470b5c5d2910955187d4ec94c89840bb571.tar
leaflet-soton-0c510470b5c5d2910955187d4ec94c89840bb571.tar.gz
Remove room prefix from the room markers
I think it looks cleaner this way.
-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 ec86a7d..dfd2ad7 100644
--- a/src/leaflet-soton.js
+++ b/src/leaflet-soton.js
@@ -685,7 +685,7 @@ SELECT * WHERE {\
if ("name" in part.properties && "ref" in part.properties) {
content = part.properties.name + " (" + part.properties.ref + ")";
} else if ("ref" in part.properties) {
- content = "<span style='font-size:90%'>room</span><br/>" + part.properties.ref;
+ content = part.properties.ref;
} else if ("name" in part.properties) {
content = part.properties.name;
} else {