aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-06-03 12:46:28 +0100
committerStruan Donald <struan@exo.org.uk>2014-06-03 12:46:28 +0100
commitabc4c68dcb27a8964bf76d95d00e5955e5ac0f69 (patch)
treed8d4199a0c36a021aa37a2979ba02398dd24a0cb /src
parent86c7be310dce8635593901676f925eb26970f9cf (diff)
Fix help visibility check for back button handler
The help screen is actually always visible so this was preventing the back button exiting the app on the home screen on Android. Fixes #162
Diffstat (limited to 'src')
-rw-r--r--src/js/views/fms.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/views/fms.js b/src/js/views/fms.js
index 6b92e10..1b51a27 100644
--- a/src/js/views/fms.js
+++ b/src/js/views/fms.js
@@ -14,7 +14,7 @@
},
back: function(e) {
- if ( $('#help').is(':visible') ) {
+ if ( $('#help #dismiss').is(':visible') ) {
FMS.helpHide();
} else if ( this._back ) {
this._back(e);