diff options
author | Struan Donald <struan@exo.org.uk> | 2012-11-12 12:38:48 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-11-12 12:38:48 +0000 |
commit | 99891e3989a0d8c2cae8f6ebef935a5733da4e6b (patch) | |
tree | bf9dbff4f21dca87deb8a93ce034f55711ae4fc1 /www/js | |
parent | 43d9f7ee5c22a330ef413504373a587814070128 (diff) |
more use of vclick to speed up ui
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/map-OpenLayers.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/map-OpenLayers.js b/www/js/map-OpenLayers.js index efd58bf..5ef6603 100644 --- a/www/js/map-OpenLayers.js +++ b/www/js/map-OpenLayers.js @@ -138,7 +138,7 @@ function fixmystreet_onload() { if (bounds) { fixmystreet.map.zoomToExtent( bounds ); } } - $('#hide_pins_link').click(function(e) { + $('#hide_pins_link').on('vclick', function(e) { e.preventDefault(); var showhide = [ 'Show pins', 'Hide pins', @@ -158,7 +158,7 @@ function fixmystreet_onload() { } }); - $('#all_pins_link').click(function(e) { + $('#all_pins_link').on('vclick', function(e) { e.preventDefault(); fixmystreet.markers.setVisibility(true); var texts = [ |