diff options
Diffstat (limited to 'www/js/map-google.js')
-rw-r--r-- | www/js/map-google.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/map-google.js b/www/js/map-google.js index 742b55d..7da21ba 100644 --- a/www/js/map-google.js +++ b/www/js/map-google.js @@ -16,7 +16,7 @@ $(function(){ }); google.maps.event.addListener(map, "zoom_changed", function() { - if (map.getZoom() < 13) map.setZoom(13); - if (map.getZoom() > 17) map.setZoom(17); + if (map.getZoom() < 13) { map.setZoom(13); } + if (map.getZoom() > 17) { map.setZoom(17); } }); }); |