diff options
author | Struan Donald <struan@exo.org.uk> | 2012-06-15 15:01:05 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-06-15 15:01:05 +0100 |
commit | ae327302c1dddd1a08d80aa715dbd4fc2bb3c7c2 (patch) | |
tree | 962e127e18dbc9caedd1d0e49a9ec86aea6266cf /www/js/map-google.js | |
parent | 3ee077362751d794cc887b952d02e0c10d20f4d5 (diff) |
fix jslint issues and remove unused js files
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); } }); }); |