--- a/src/main/resources/scripts/tracker.js Thu Aug 25 11:37:39 2011 -0400
+++ b/src/main/resources/scripts/tracker.js Thu Aug 25 11:56:16 2011 -0400
@@ -46,7 +46,7 @@
function Activity(type) {
this.activity = type;
- this.time = 0;
+ this.date = 0;
this.distance = 0;
this.duration = 0;
this.userAgent = navigator.userAgent;
@@ -206,7 +206,7 @@
document.getElementById("stop").disabled = false;
document.getElementById("start").textContent = "Pause";
if (app.currentActivity.time === 0) {
- app.currentActivity.time = now;
+ app.currentActivity.date = now;
}
} else {
// pause an activity