a nicer fix for android

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12166 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2011-07-12 15:48:24 +00:00
parent a5aba4d4de
commit 54726888f0

View File

@@ -28,11 +28,8 @@ $(document).ready(function() {
initLayerList();
}
}
$('#mappage').live('pageshow', function() {
$('#mappage').die('pageshow', arguments.callee);
fixContentHeight();
});
$(window).bind("orientationchange resize pageshow", fixContentHeight);
document.body.onload = fixContentHeight;
// Map zoom
$("#plus").click(function(){