mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-2863
This commit is contained in:
@@ -97,9 +97,8 @@
|
|||||||
/*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);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user