mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-11-17 03:27:56 +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 );
|
||
|
}
|
||
|
});
|
||
|
});
|