X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6358f8190d3952a3d7664e5db774ceaae5ce0447..8ec415b060c4321fad3fa42f3038148aa94c9b90:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 877bc1771..4e725f906 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -291,7 +291,7 @@ end e.preventDefault(); }); - <% if params[:action] == 'export' -%> + <% if params[:export] -%> $("#exportanchor").click(); <% end -%>