]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Reposition the zoom slider after recreating the SimplePanZoom control
[rails.git] / app / views / site / index.html.erb
index a74c7b356032433cad85a6726fd69108f48f5b14..b7a9df068c618b042d522b389b3674abf2a50e0e 100644 (file)
@@ -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' -%>