From 48fd8f1ae5b9938c12136da7bbf4a8f061bbead7 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Mon, 28 Jan 2013 01:33:54 +0100 Subject: [PATCH] fix a CSS error and slightly improve geolocation --- js/tricorder.js | 3 ++- manifest.appcache | 2 +- style/tricorder.css | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/js/tricorder.js b/js/tricorder.js index 093f517..0f0ffcf 100644 --- a/js/tricorder.js +++ b/js/tricorder.js @@ -119,13 +119,14 @@ var gModPos = { document.getElementById("posHead").textContent = "..."; document.getElementById("posSpd").textContent = "..."; document.getElementById("posTime").textContent = "..."; + setTimeout(function() { gModPos.deactivate(); }, 5000); } else { document.getElementById("posunavail").style.display = "block"; document.getElementById("posavail").style.display = "none"; } }, - {enableHighAccuracy: true} + {enableHighAccuracy: true, maximumAge: 10000, timeout: 60000} ); } else { diff --git a/manifest.appcache b/manifest.appcache index e417d06..1106d55 100644 --- a/manifest.appcache +++ b/manifest.appcache @@ -1,6 +1,6 @@ CACHE MANIFEST -# 2013-01-27 +# 2013-01-28 manifest.webapp js/tricorder.js style/tricorder.css diff --git a/style/tricorder.css b/style/tricorder.css index 843d225..0c73061 100644 --- a/style/tricorder.css +++ b/style/tricorder.css @@ -179,7 +179,7 @@ a:hover, a:active { color: #FFCF00; } width: auto; padding: 1px; min-height: 20em; - overflow: none; + overflow: hidden; border: none; } -- 2.35.3