From: Robert Kaiser Date: Mon, 28 Jan 2013 00:33:54 +0000 (+0100) Subject: fix a CSS error and slightly improve geolocation X-Git-Tag: production~21 X-Git-Url: https://git-public.kairo.at/?p=tricorder.git;a=commitdiff_plain;h=48fd8f1ae5b9938c12136da7bbf4a8f061bbead7;ds=sidebyside fix a CSS error and slightly improve geolocation --- 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; }