X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f4a54c18c8d10b9759749495d8bf35a4d35e7151..98445b2ab9d9d7b731ba128e7878a865d2409f37:/app/views/site/index.html.erb?ds=sidebyside 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' -%>