]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/export/start.rjs
Headers is an array not a function...
[rails.git] / app / views / export / start.rjs
index 1a157afcac30ab71149ebf7fb05b368a73f7d4de..2796d92fe83b328abf779ff38580e5d752e8b57f 100644 (file)
@@ -129,8 +129,7 @@ page << <<EOJ
     if (bounds.getWidth() * bounds.getHeight() > 0.25) {
       $("format_osm").disabled = true;
       $("format_osm").checked = false;
-
-      formatChanged();
+      $("export_osm").style.display = "none";
     } else {
       $("format_osm").disabled = false;
     }