diff options
author | Struan Donald <struan@exo.org.uk> | 2014-06-03 12:46:28 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2014-06-03 12:46:28 +0100 |
commit | abc4c68dcb27a8964bf76d95d00e5955e5ac0f69 (patch) | |
tree | d8d4199a0c36a021aa37a2979ba02398dd24a0cb | |
parent | 86c7be310dce8635593901676f925eb26970f9cf (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
-rw-r--r-- | src/js/views/fms.js | 2 |
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); |