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 | 925232a1e48850ab1c5087fe555d7dc71496d726 (patch) | |
tree | 8a048416507820b1eb54f4b9ce69fa6b2eefdea2 /phonegap/www/js/map-google.js | |
parent | cc1aa4a6676db38eabed168327941c6aa93b4654 (diff) |
fix jslint issues and remove unused js files
Diffstat (limited to 'phonegap/www/js/map-google.js')
-rw-r--r-- | phonegap/www/js/map-google.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phonegap/www/js/map-google.js b/phonegap/www/js/map-google.js index 742b55d47..7da21ba09 100644 --- a/phonegap/www/js/map-google.js +++ b/phonegap/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); } }); }); |