aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/views')
-rw-r--r--src/js/views/fms.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/views/fms.js b/src/js/views/fms.js
index be4c84a..a6019c2 100644
--- a/src/js/views/fms.js
+++ b/src/js/views/fms.js
@@ -48,7 +48,7 @@
content = this.$(this.contentSelector),
top = content.position().top,
viewHeight = $(window).height(),
- contentHeight = viewHeight - header.outerHeight() - this.bottomMargin;
+ contentHeight = FMS.windowHeight - header.outerHeight() - this.bottomMargin;
this.setHeight( content, contentHeight - top );
},
@@ -66,6 +66,10 @@
afterDisplay: function() {},
navigate: function( route, reverse ) {
+ if ( FMS.isAndroid ) {
+ var softkeyboard = window.plugins.SoftKeyBoard;
+ softkeyboard.hide();
+ }
if ( reverse ) {
FMS.router.reverseTransition();
}