aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-05-22 17:36:47 +0100
committerStruan Donald <struan@exo.org.uk>2013-05-22 17:36:47 +0100
commit4c631bda31d226cba1058879b9bf173b6beaf3d1 (patch)
tree529e3b0dc127a985d52f6ef08e1d9a282d71902d /www/js
parent06e947608f1aff2f4ea2fa757ad96e842733f41c (diff)
height works better for setting height than css('height')
Diffstat (limited to 'www/js')
-rw-r--r--www/js/views/details.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/views/details.js b/www/js/views/details.js
index 9352ae0..b1f889f 100644
--- a/www/js/views/details.js
+++ b/www/js/views/details.js
@@ -33,7 +33,7 @@
viewHeight = $(window).height(),
contentHeight = viewHeight - header.outerHeight();
- detail.css('height', contentHeight - top );
+ detail.height( contentHeight - top );
},
onClickButtonPrev: function() {