X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2cbcabb3f6992904903a72dfbcef624bd391a314..f5c9a41e8729ab9bfc54fff6be9c1a9b6e0f4d56:/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