packages/cdp-mobile/dist/cdp.js
function( height ) {
            var page = $( "." + $.mobile.activePageClass ),
                pageHeight = page.height(),
                pageOuterHeight = page.outerHeight( true );

            height = compensateToolbars( page,
                ( typeof height === "number" ) ? height : $.mobile.getScreenHeight() );

            // Remove any previous min-height setting
            page.css( "min-height", "" );

            // Set the minimum height only if the height as determined by CSS is insufficient
            if ( page.height() < height ) {
                page.css( "min-height", height - ( pageOuterHeight - pageHeight ) );
            }
        }
function( height ) {
            var page = $( "." + $.mobile.activePageClass ),
                pageHeight = page.height(),
                pageOuterHeight = page.outerHeight( true );

            height = compensateToolbars( page,
                ( typeof height === "number" ) ? height : $.mobile.getScreenHeight() );

            // Remove any previous min-height setting
            page.css( "min-height", "" );

            // Set the minimum height only if the height as determined by CSS is insufficient
            if ( page.height() < height ) {
                page.css( "min-height", height - ( pageOuterHeight - pageHeight ) );
            }
        }
function ( height ) { var page = $ ( "." + $ . mobile . activePageClass ) , pageHeight = page . height ( ) , pageOuterHeight = page . outerHeight ( true ) ; height = compensateToolbars ( page , ( typeof height === "number" ) ? height : $ . mobile . getScreenHeight ( ) ) ; // Remove any previous min-height setting page . css ( "min-height" , "" ) ; // Set the minimum height only if the height as determined by CSS is insufficient if ( page . height ( ) < height ) { page . css ( "min-height" , height - ( pageOuterHeight - pageHeight ) ) ; } }
simply set the active page's minimum height to screen height, depending on orientation
simply set the active page s minimum height to screen height depending on orientation