From: Tom Hughes Date: Thu, 26 Jun 2008 23:01:55 +0000 (+0000) Subject: Refactor to remove some code duplication. X-Git-Tag: live~8272^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9a7db5d63b12f90b944f4ad151e5299d1745ecfb Refactor to remove some code duplication. --- diff --git a/app/views/browse/_map.rhtml b/app/views/browse/_map.rhtml index 9ca0a163a..ad2d2d307 100644 --- a/app/views/browse/_map.rhtml +++ b/app/views/browse/_map.rhtml @@ -1,15 +1,21 @@ <%= javascript_include_tag '/openlayers/OpenLayers.js' %> <%= javascript_include_tag '/openlayers/OpenStreetMap.js' %> <%= javascript_include_tag 'map.js' %> -
-
-Loading... - + + <% if map.visible %> +
+
+ Loading... + + <% else %> + Deleted + <% end %> +