X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/344c5534ee328243ce8f5787e0ef6c3dcbf87b15..a9a5b6ef38aeddcae590dfc53763ac303cadb8b0:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index a74c7b356..b7a9df068 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -288,7 +288,7 @@ end $(document).ready(function () { $("#exportanchor").click(function (e) { $.ajax({ url: "<%= url_for :controller => :export, :action => :start %>" }); - Event.stop(e); + e.preventDefault(); }); <% if params[:action] == 'export' -%>