aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/details.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views/details.js')
-rw-r--r--www/js/views/details.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/views/details.js b/www/js/views/details.js
index 996ece9..5eb6b85 100644
--- a/www/js/views/details.js
+++ b/www/js/views/details.js
@@ -5,6 +5,7 @@
id: 'details-page',
prev: 'photo',
next: 'submit-start',
+ bottomMargin: -20,
events: {
'pagehide': 'destroy',
@@ -28,11 +29,12 @@
},
beforeDisplay: function() {
+ this.fixPageHeight();
var header = this.$("div[data-role='header']:visible"),
detail = this.$('#form_detail'),
top = detail.position().top,
viewHeight = $(window).height(),
- contentHeight = viewHeight - header.outerHeight();
+ contentHeight = viewHeight - header.outerHeight() + 15;
detail.height( contentHeight - top );
},