[OpenLayers-Commits] r11123 - trunk/openlayers/examples
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Wed Feb 16 03:47:14 EST 2011
Author: tschaub
Date: 2011-02-16 00:47:14 -0800 (Wed, 16 Feb 2011)
New Revision: 11123
Modified:
trunk/openlayers/examples/mobile-jq.html
trunk/openlayers/examples/mobile.js
Log:
Remove unused log element.
Modified: trunk/openlayers/examples/mobile-jq.html
===================================================================
--- trunk/openlayers/examples/mobile-jq.html 2011-02-16 08:17:22 UTC (rev 11122)
+++ trunk/openlayers/examples/mobile-jq.html 2011-02-16 08:47:14 UTC (rev 11123)
@@ -2,7 +2,7 @@
<html>
<head>
<title>OpenLayers with jQuery Mobile</title>
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css">
<script src="http://code.jquery.com/jquery-1.5.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
@@ -25,9 +25,6 @@
text-align: center;
padding: 5px 0;
}
- #log {
- display: none;
- }
#map {
width: 100%;
height: 100%;
@@ -129,6 +126,5 @@
</form>
</div>
</div>
- <div id="log"></div>
</body>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/openlayers/examples/mobile.js
===================================================================
--- trunk/openlayers/examples/mobile.js 2011-02-16 08:17:22 UTC (rev 11122)
+++ trunk/openlayers/examples/mobile.js 2011-02-16 08:47:14 UTC (rev 11123)
@@ -68,16 +68,12 @@
var log = [];
function updateLog(message) {
log.push(message);
- var div = document.createElement("div");
- div.appendChild(document.createTextNode(message));
- document.getElementById("log").appendChild(div);
if (window.console) {
console.log(message);
}
}
function clearLog() {
log.length = 0;
- document.getElementById("log").innerHTML = "";
}
function pan(fx, fy) {
More information about the Commits
mailing list