mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-08-29 00:10:42 +02:00
9 lines
230 B
JavaScript
9 lines
230 B
JavaScript
$( document ).on( "pagecreate", function() {
|
|
$( ".photopopup" ).on({
|
|
popupbeforeposition: function() {
|
|
var maxHeight = $( window ).height() - 60 + "px";
|
|
$( ".photopopup img" ).css( "max-height", maxHeight );
|
|
}
|
|
});
|
|
});
|