fix a CSS error and slightly improve geolocation
authorRobert Kaiser <kairo@kairo.at>
Mon, 28 Jan 2013 00:33:54 +0000 (01:33 +0100)
committerRobert Kaiser <kairo@kairo.at>
Mon, 28 Jan 2013 00:33:54 +0000 (01:33 +0100)
js/tricorder.js
manifest.appcache
style/tricorder.css

index 093f5171a79851e73569993fd587ad7b85ff8d81..0f0ffcf1bc6c9d4bced7cb84fa71c4b6b8fb99ea 100644 (file)
@@ -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 {
index e417d06b891001bb96f948f575d211fa5e4ad2f3..1106d558cab08bce753da0ea1fa1a68391df1c6f 100644 (file)
@@ -1,6 +1,6 @@
 CACHE MANIFEST
 
-# 2013-01-27
+# 2013-01-28
 manifest.webapp
 js/tricorder.js
 style/tricorder.css
index 843d225b3cd2a90ca86806d690504c49d782e391..0c730618552b2f9de2b45b3f5c60fcc6e169c851 100644 (file)
@@ -179,7 +179,7 @@ a:hover, a:active { color: #FFCF00; }
   width: auto;
   padding: 1px;
   min-height: 20em;
-  overflow: none;
+  overflow: hidden;
   border: none;
 }