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

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Thu Feb 17 00:29:12 EST 2011


Author: tschaub
Date: 2011-02-16 21:29:11 -0800 (Wed, 16 Feb 2011)
New Revision: 11132

Modified:
   trunk/openlayers/examples/mobile-jq.html
Log:
Removing scrolling workaround.

Modified: trunk/openlayers/examples/mobile-jq.html
===================================================================
--- trunk/openlayers/examples/mobile-jq.html	2011-02-17 05:07:50 UTC (rev 11131)
+++ trunk/openlayers/examples/mobile-jq.html	2011-02-17 05:29:11 UTC (rev 11132)
@@ -14,7 +14,7 @@
             html {
                 height: 100%;
             }
-            body: {
+            body {
                 margin: 0;
                 padding: 0;
                 height: 100%;
@@ -94,10 +94,6 @@
                 $("#nav").click();
                 $("#nav").click(); // jquery mobile bug forces 2 calls to refresh radio ui
                 
-                // disable scrolling from the map
-                $("#map").bind("touchstart", function(event) {
-                    event.preventDefault();
-                });
             });
 
         </script>



More information about the Commits mailing list