From cfbb80d2d491dcb282896c85efd6cce035a0707c Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 26 Apr 2013 17:54:38 -0700 Subject: [PATCH] Selecting relations is now supported --- app/views/site/_id.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 5452cc4fe..c31ea23dc 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -13,7 +13,7 @@ <% end -%> var hash; - if (coord.object && coord.object.type !== 'relation') { + if (coord.object) { hash = '#id=' + coord.object.type[0] + coord.object.id; } else { hash = '#map=' + (coord.zoom || 17) + '/' + coord.lon + '/' + coord.lat -- 2.43.2