diff options
author | Struan Donald <struan@exo.org.uk> | 2013-07-09 13:16:27 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-07-09 13:16:27 +0100 |
commit | dfd1f778e2bbf97888b1a8a14b97786ceb62e698 (patch) | |
tree | 093f28d1cc3e5d0af987d41d35fadf37a9d54022 /www/js | |
parent | 5c644fd9f2a6317df50dbbd37d7a14e4c76a2fd8 (diff) |
set existing page height using minimum height
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/views/existing.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/www/js/views/existing.js b/www/js/views/existing.js index 21a3404..0d16760 100644 --- a/www/js/views/existing.js +++ b/www/js/views/existing.js @@ -13,6 +13,10 @@ 'vclick #discard': 'discardReport' }, + setHeight: function(content, height) { + content.css( 'min-height', content + 'px'); + }, + useReport: function(e) { e.preventDefault(); FMS.setCurrentDraft(this.model); |