[OpenLayers-Commits] r12165 - trunk/openlayers/examples

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Jul 12 11:38:48 EDT 2011


Author: ahocevar
Date: 2011-07-12 08:38:46 -0700 (Tue, 12 Jul 2011)
New Revision: 12165

Modified:
   trunk/openlayers/examples/mobile-jq.js
Log:
making the former fix also work in android

Modified: trunk/openlayers/examples/mobile-jq.js
===================================================================
--- trunk/openlayers/examples/mobile-jq.js	2011-07-12 15:21:14 UTC (rev 12164)
+++ trunk/openlayers/examples/mobile-jq.js	2011-07-12 15:38:46 UTC (rev 12165)
@@ -28,6 +28,10 @@
             initLayerList();
         }
     }
+    $('#mappage').live('pageshow', function() {
+        $('#mappage').die('pageshow', arguments.callee);
+        fixContentHeight();
+    });
     $(window).bind("orientationchange resize pageshow", fixContentHeight);
 
     // Map zoom  



More information about the Commits mailing list