diff options
Diffstat (limited to 'src/js/views/around.js')
-rw-r--r-- | src/js/views/around.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/js/views/around.js b/src/js/views/around.js index 964bef4..d912198 100644 --- a/src/js/views/around.js +++ b/src/js/views/around.js @@ -77,6 +77,14 @@ } }, + _back: function(e) { + if ( $('#confirm-map').css('display') == 'block' ) { + this.onClickCancel(e); + } else { + navigator.app.exitApp(); + } + }, + setMapPosition: function( info ) { var coords = info.coordinates; fixmystreet.latitude = coords.latitude; |