Always update perma and shortlinks, keeping layers

This commit is contained in:
Matt Amos 2011-11-25 15:11:37 +00:00 committed by Tom Hughes
parent 759f51a57c
commit 4259ca6572

View file

@ -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();
}