When I have a ModalView open and change the orientation of my iPad, the ModalView is no longer centered. How do I get it to re-center? I assume I need to bind on the orientationchange event, but I don't know what code I can use to re-center.
$(window).bind('orientationchange', reCenter);
function reCenter() {
// unknown recenter code??
}
Thank you,
Jason
$(window).bind('orientationchange', reCenter);
function reCenter() {
// unknown recenter code??
}
Thank you,
Jason