Fix full height calculation.

This commit is contained in:
Roberto Rosario
2015-07-28 03:02:35 -04:00
parent 61b41cfd79
commit 68a3c49ae3
2 changed files with 2 additions and 2 deletions

View File

@@ -297,7 +297,7 @@
'use strict';
function resizeFullHeight() {
$('.full-height').height($(window).height() - $('.full-height').data('heightDifference'));
$('.full-height').height($(window).height() - $('.full-height').data('height-difference'));
}
function set_image_noninteractive(image) {

View File

@@ -43,7 +43,7 @@ class DocumentPagesCarouselWidget(forms.widgets.Widget):
output = []
output.append(
'<div id="carousel-container" class="full-height scrollable" '
'data-height-difference=360>'
'data-height-difference=200>'
)
try: