Skip to content

Commit

Permalink
a nicer fix for android
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12166 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
  • Loading branch information
ahocevar committed Jul 12, 2011
1 parent a5aba4d commit 5472688
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/mobile-jq.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down

0 comments on commit 5472688

Please sign in to comment.