mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
PHRAS-2863
This commit is contained in:
@@ -97,7 +97,6 @@
|
|||||||
/*resize of PDF */
|
/*resize of PDF */
|
||||||
$(window).on("load resize ",function(e){
|
$(window).on("load resize ",function(e){
|
||||||
if($('.pdf-iframe').length > 0) {
|
if($('.pdf-iframe').length > 0) {
|
||||||
|
|
||||||
var pdfHeight = $('.pdf-iframe').width() / 0.707;
|
var pdfHeight = $('.pdf-iframe').width() / 0.707;
|
||||||
$('.pdf-iframe').css('height', pdfHeight);
|
$('.pdf-iframe').css('height', pdfHeight);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user