mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-29 12:03:47 +01: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 );
|
||
|
}
|
||
|
});
|
||
|
});
|