making the former fix also work in android

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12165 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2011-07-12 15:38:46 +00:00
parent 93bf0683c4
commit a5aba4d4de

View File

@@ -28,6 +28,10 @@ $(document).ready(function() {
initLayerList();
}
}
$('#mappage').live('pageshow', function() {
$('#mappage').die('pageshow', arguments.callee);
fixContentHeight();
});
$(window).bind("orientationchange resize pageshow", fixContentHeight);
// Map zoom