This commit is contained in:
Andras Timar 2017-11-29 11:53:27 +01:00
Родитель 893e4fa960
Коммит 11274091c0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -89,7 +89,7 @@ var odfViewer = {
FileList.setViewerMode(true);
}
var $iframe = $('<iframe id="richdocumentsframe" allowfullscreen style="width:100%;height:100%;display:block;position:absolute;top:0;z-index:5;" src="'+viewer+'" />');
var $iframe = $('<iframe id="richdocumentsframe" allowfullscreen style="width:100%;height:100%;display:block;position:absolute;top:0;" src="'+viewer+'" />');
if ($('#isPublic').val()) {
// force the preview to adjust its height
$('#preview').append($iframe).css({height: '100%'});