diff options
author | Struan Donald <struan@exo.org.uk> | 2013-06-21 14:40:33 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-06-21 14:40:33 +0100 |
commit | 84301f5dfd5812f62ad3241b2276c3390f8f7992 (patch) | |
tree | a87642d08bf1f5bd1ecf8f5d1cde22922972d5d2 /www/js | |
parent | 7fc8a423e2a59b35b546fbd387aef359eda1af17 (diff) |
turn of map dragging if map is just in background
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/views/around.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js index 057241e..c37dd5d 100644 --- a/www/js/views/around.js +++ b/www/js/views/around.js @@ -80,6 +80,7 @@ // FIXME: not sure why I need to do this fixmystreet.select_feature.deactivate(); fixmystreet.select_feature.activate(); + fixmystreet.nav.activate(); }, positionUpdate: function( info ) { @@ -272,6 +273,7 @@ this.model.set('title_list', info.details.title_list); } FMS.saveCurrentDraft(); + fixmystreet.nav.deactivate(); this.navigate( 'photo' ); }, |