projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
759f51a
)
Always update perma and shortlinks, keeping layers
author
Matt Amos
<zerebubuth@gmail.com>
Fri, 25 Nov 2011 15:11:37 +0000
(15:11 +0000)
committer
Tom Hughes
<tom@compton.nu>
Fri, 25 Nov 2011 15:22:32 +0000
(15:22 +0000)
app/views/site/index.html.erb
patch
|
blob
|
history
diff --git
a/app/views/site/index.html.erb
b/app/views/site/index.html.erb
index 71cafacbc2d7794dea2869706419513e16a05d1f..86eed75566eb2a55ab3d2c6d09c2a670d5b995a1 100644
(file)
--- 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();
}