Reorganize javascript at end of page.

This commit is contained in:
Laurent Destailleur
2017-11-09 01:00:43 +01:00
parent ead08c17d8
commit c8a551e7de
4 changed files with 232 additions and 180 deletions

View File

@@ -853,7 +853,7 @@ function document_preview(file, type, title)
if ($.inArray(type, ValidImageTypes) < 0) {
var width='85%';
var object_width='100%';
var height = $( window ).height()*0.90;
var height = ($( window ).height() - 60) * 0.90;
var object_height='98%';
show_preview('notimage');