[OpenLayers-Commits] r11216 - sandbox/cmoullet/openlayers/examples

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Feb 22 04:10:56 EST 2011


Author: cmoullet
Date: 2011-02-22 01:10:56 -0800 (Tue, 22 Feb 2011)
New Revision: 11216

Modified:
   sandbox/cmoullet/openlayers/examples/accelerometer.html
Log:
Dummy bug...

Modified: sandbox/cmoullet/openlayers/examples/accelerometer.html
===================================================================
--- sandbox/cmoullet/openlayers/examples/accelerometer.html	2011-02-22 09:06:50 UTC (rev 11215)
+++ sandbox/cmoullet/openlayers/examples/accelerometer.html	2011-02-22 09:10:56 UTC (rev 11216)
@@ -34,7 +34,7 @@
                 }
                 if (window.DeviceMotionEvent) {
                     window.addEventListener('devicemotion', function (event) {
-                        document.getElementById('resultDeviceOrientation').innerHTML = '';
+                        document.getElementById('resultDeviceMotion').innerHTML = '';
                         if (typeof(event.accelerationIncludingGravity) != 'undefined') {
                             document.getElementById('resultDeviceMotion').innerHTML = document.getElementById('resultDeviceMotion').innerHTML + "accelerationIncludingGravity.x: " + event.accelerationIncludingGravity.x + "<br>";
                             document.getElementById('resultDeviceMotion').innerHTML = document.getElementById('resultDeviceMotion').innerHTML + "accelerationIncludingGravity.y: " + event.accelerationIncludingGravity.y + "<br>";



More information about the Commits mailing list