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,9 +97,8 @@
|
||||
/*resize of PDF */
|
||||
$(window).on("load resize ",function(e){
|
||||
if($('.pdf-iframe').length > 0) {
|
||||
|
||||
var pdfHeight = $('.pdf-iframe').width() / 0.707;
|
||||
$('.pdf-iframe').css('height', pdfHeight);
|
||||
var pdfHeight = $('.pdf-iframe').width() / 0.707;
|
||||
$('.pdf-iframe').css('height', pdfHeight);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user