Skip to content
Snippets Groups Projects
Commit 90fb7df0 authored by Friederike Schwager's avatar Friederike Schwager Committed by Friederike Schwager
Browse files

bugfix: zoom in fullscreen mode

parent c9c139fe
No related branches found
No related tags found
No related merge requests found
......@@ -967,9 +967,10 @@ function startIndex(Y,_cm,_documentObject,_userid,_capabilities, _toolbarSetting
elem.style.height = PAGE_HEIGHT+'px';
});
 
if (! $('.path-mod-pdfannotator').first().hasClass('fullscreenWrapper')) {
var pageheight100 = pdfPage.getViewport(1, 0).height;
$('#body-wrapper').css('height',pageheight100+40);
}
document.getElementById('currentPage').value = _page;
document.getElementById('currentPage').max = NUM_PAGES;
document.getElementById('sumPages').innerHTML = NUM_PAGES;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment