]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unneessary return added accidentally
authorTom Hughes <tom@compton.nu>
Mon, 25 Nov 2013 19:14:52 +0000 (19:14 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 25 Nov 2013 19:14:52 +0000 (19:14 +0000)
app/assets/javascripts/index/browse.js

index 69f6e3bc81acce08ac5c5e3bcf3482639d8af1e9..c70228501a2e8f32f91fd4a8375e94407abe8117 100644 (file)
@@ -67,7 +67,7 @@ function initializeBrowse(map) {
       $('#browse_status').html(
         $("<p class='warning'></p>")
           .text(I18n.t("browse.start_rjs.unable_to_load_size", { max_bbox_size: OSM.MAX_REQUEST_AREA, bbox_size: size.toFixed(2) })));
       $('#browse_status').html(
         $("<p class='warning'></p>")
           .text(I18n.t("browse.start_rjs.unable_to_load_size", { max_bbox_size: OSM.MAX_REQUEST_AREA, bbox_size: size.toFixed(2) })));
-      return false;
+      return;
     }
 
     var url = "/api/" + OSM.API_VERSION + "/map?bbox=" + bounds.toBBoxString();
     }
 
     var url = "/api/" + OSM.API_VERSION + "/map?bbox=" + bounds.toBBoxString();