From a5aba4d4de4cfa397cf3540f405f506f6466cbdc Mon Sep 17 00:00:00 2001 From: ahocevar Date: Tue, 12 Jul 2011 15:38:46 +0000 Subject: [PATCH] making the former fix also work in android git-svn-id: http://svn.openlayers.org/trunk/openlayers@12165 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/mobile-jq.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/mobile-jq.js b/examples/mobile-jq.js index 5d38d9b0cf..614492e9bf 100644 --- a/examples/mobile-jq.js +++ b/examples/mobile-jq.js @@ -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