PHRAS-2863

This commit is contained in:
Harrys Ravalomanana
2020-01-07 11:04:24 +04:00
parent 4d768889f2
commit 93a9bb83e0

View File

@@ -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>