From 0c510470b5c5d2910955187d4ec94c89840bb571 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 27 Sep 2014 15:59:40 +0100 Subject: Remove room prefix from the room markers I think it looks cleaner this way. --- src/leaflet-soton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "room
" + part.properties.ref; + content = part.properties.ref; } else if ("name" in part.properties) { content = part.properties.name; } else { -- cgit v1.2.3