From: Matt Amos Date: Fri, 25 Nov 2011 15:11:37 +0000 (+0000) Subject: Always update perma and shortlinks, keeping layers X-Git-Tag: live~6000 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/4259ca6572808ba26c39eb436f3ea37cba4241cd?ds=sidebyside Always update perma and shortlinks, keeping layers --- 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(); }