X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/99c48285df6fc306504b4cf9c12547bd5af6bee7..452eabc941b9500d737956f698a88624fa86dc86:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 3b0a19cf9..b2212645c 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -59,6 +59,8 @@ class SiteController < ApplicationController return end + @extra_body_class = "site-edit-#{editor}" + if params[:node] bbox = Node.find(params[:node]).bbox.to_unscaled @lat = bbox.centre_lat