Fix full height calculation.
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user