s/time/date/
authorplehegar
Thu, 25 Aug 2011 11:56:16 -0400
changeset 57 b49fa1525194
parent 56 7507ae3fecdb
child 70 3ceafc090b83
s/time/date/
src/main/resources/scripts/tracker.js
--- 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