diff options
-rw-r--r-- | src/js/views/locator.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/js/views/locator.js b/src/js/views/locator.js index 9b630a2..dc8ec8c 100644 --- a/src/js/views/locator.js +++ b/src/js/views/locator.js @@ -35,9 +35,8 @@ showLocateProgress: function() { if ( !this.located && this.locateCount > 20 ) { - FMS.searchMessage = FMS.strings.geolocation_failed; - $(document).undelegate('.ui-content', 'touchmove', false); - $('#locating').hide(); + var details = { msg: FMS.strings.geolocation_failed }; + this.failedLocation(details); return; } var percent = ( ( 20 - this.locateCount ) / 20 ) * 100; |