allowfullscreen
This commit is contained in:
Родитель
aeeb31d4c7
Коммит
75a12f07e4
|
@ -90,7 +90,7 @@ var odfViewer = {
|
|||
FileList.setViewerMode(true);
|
||||
}
|
||||
|
||||
var $iframe = $('<iframe id="richdocumentsframe" 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;z-index:5;" src="'+viewer+'" />');
|
||||
if ($('#isPublic').val()) {
|
||||
// force the preview to adjust its height
|
||||
$('#preview').append($iframe).css({height: '100%'});
|
||||
|
|
Загрузка…
Ссылка в новой задаче