diff options
author | Struan Donald <struan@exo.org.uk> | 2012-11-15 14:35:46 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-11-15 14:35:46 +0000 |
commit | c5caf8264ed2a1b9801700d58f3c827a6a79111d (patch) | |
tree | 4eae80d9377378e4fe9ae380e79268d2a1ee9bb9 /www/js/mobile.js | |
parent | e1f9329915adbdafec4255ab65af6fa0c6327b3e (diff) |
deactivate drag on map when you mark a location
Diffstat (limited to 'www/js/mobile.js')
-rw-r--r-- | www/js/mobile.js | 3 |
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 ); } |