diff options
author | Struan Donald <struan@exo.org.uk> | 2013-03-21 17:41:12 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-03-21 17:41:12 +0000 |
commit | b1db44e8d7af1efaac3fce0d08ce2f15443adcf6 (patch) | |
tree | baa48a064bfc4bfe99d338f2502f18163113e57a /www/js | |
parent | 3f4a98378e2f9ad43c11635e191f4a5d86236293 (diff) |
no sense turning progress bar green only to hide it
also, make sure ajaxLoader overlay is hidden
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/views/around.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js index 868a798..983a2ad 100644 --- a/www/js/views/around.js +++ b/www/js/views/around.js @@ -72,11 +72,13 @@ this.stopListening(FMS.locator, 'gps_located'); this.stopListening(FMS.locator, 'gps_failed'); this.locateCount = 21; - $('#progress-bar').css( 'background-color', 'green' ); + $('#ajaxOverlay').hide(); $('#locating').hide(); + var coords = info.coordinates; fixmystreet.latitude = coords.latitude; fixmystreet.longitude = coords.longitude; + if ( !fixmystreet.map ) { show_map(); } else { |