From 4259ca6572808ba26c39eb436f3ea37cba4241cd Mon Sep 17 00:00:00 2001 From: Matt Amos Date: Fri, 25 Nov 2011 15:11:37 +0000 Subject: [PATCH] Always update perma and shortlinks, keeping layers --- app/views/site/index.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 71cafacbc..86eed7556 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -160,8 +160,6 @@ end setMapCenter(centre, zoom); <% end %> - - updateLocation(); <% end %> <% if !layers.nil? and !layers.empty? %> @@ -185,6 +183,7 @@ end map.events.register("moveend", map, updateLocation); map.events.register("changelayer", map, updateLocation); + updateLocation(); handleResize(); } -- 2.43.2