X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/88d10f8db8bff12dbaa234851dbfd633f512c3ea..43243e4c920bf472eb2c95ccdd6926dfbe2b7d4e:/app/views/layouts/_head.html.erb diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 91a862f0a..c85594189 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -29,6 +29,8 @@ <% if session[:location] %> OSM.location = <%= session[:location].to_json.html_safe %>; <% end %> + + OSM.preferred_editor = <%= preferred_editor.to_json.html_safe %>; <%= t 'layouts.project_name.title' %><%= ' | '+ @title if @title %>