aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-06-25 16:06:40 +0100
committerStruan Donald <struan@exo.org.uk>2013-06-25 16:06:40 +0100
commitb2d786e82a6222575488cb53fa01b9d5483326dc (patch)
tree89166710044310d3652cc33fca72776f70e651b0
parent3bb8aa06afdf7def8cddebf719145c7f61993025 (diff)
hide and show buttons on around screen on startup to stop things popping in and out
-rw-r--r--www/js/views/around.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index 2fbd7c3..1d4964c 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -39,6 +39,8 @@
beforeDisplay: function() {
$('a[data-role="button"]').hide();
+ $('#login-options').hide();
+ $('#postcodeForm').hide();
$('#cancel').hide();
},
@@ -59,6 +61,7 @@
this.listenTo(FMS.locator, 'gps_current_position', this.positionUpdate);
} else {
this.locate();
+ this.displayButtons(false);
}
},