aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/mobile.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-11-15 14:35:46 +0000
committerStruan Donald <struan@exo.org.uk>2012-11-15 14:35:46 +0000
commitc5caf8264ed2a1b9801700d58f3c827a6a79111d (patch)
tree4eae80d9377378e4fe9ae380e79268d2a1ee9bb9 /www/js/mobile.js
parente1f9329915adbdafec4255ab65af6fa0c6327b3e (diff)
deactivate drag on map when you mark a location
Diffstat (limited to 'www/js/mobile.js')
-rw-r--r--www/js/mobile.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js
index 53be94c..f81acf5 100644
--- a/www/js/mobile.js
+++ b/www/js/mobile.js
@@ -456,6 +456,8 @@ function mark_here() {
$('#hide_pins_link').click();
}
+ fixmystreet.nav.deactivate();
+
$('#sub_map_links').hide();
var $map_box = $('#map_box');
$map_box.append(
@@ -476,6 +478,7 @@ function mark_here() {
$('#sub_map_links').show();
$('#mob_sub_map_links').remove();
$('#mark-here').show();
+ fixmystreet.nav.activate();
});
$('#mob_ok').on('vclick', set_location );
}