X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/144640c9eddfeec50d2fa59489618350b1d4a0c4..7de4cb19b8cbaa123f9d47ac4ba9f37e25e5724c:/app/views/site/edit.rhtml diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index 16c2ef3f2..4cd01dcc9 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -26,15 +26,15 @@ <% if params['mlon'] and params['mlat'] %> <% lon = h(params['mlon']) %> <% lat = h(params['mlat']) %> -<% zoom = h(params['zoom']) || '12' %> +<% zoom = h(params['zoom'] || '12') %> <% elsif @user and params['lon'].nil? and params['lat'].nil? %> <% lon = @user.home_lon %> <% lat = @user.home_lat %> <% zoom = '12' %> <%else%> -<% lon = h(params['lon']) || '-0.1' %> -<% lat = h(params['lat']) || '51.5' %> -<% zoom = h(params['zoom']) || '12' %> +<% lon = h(params['lon'] || '-0.1') %> +<% lat = h(params['lat'] || '51.5') %> +<% zoom = h(params['zoom'] || '12') %> <% end %>
You need a Flash player to use Potlatch, the