Permalink
Browse files

Updating text to just #m

  • Loading branch information...
1 parent 9275142 commit 69978a4fc3fbbce41c452f2d3dea09c7b73f216d @sirkitree sirkitree committed Feb 27, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/scripts/directives/clock.js
@@ -13,7 +13,7 @@ angular.module('fivefifteenApp.directives', [])
var init = DataFactory.initTime;
elapsed.setTime(current.getTime() - init.getTime());
- element.text('Minute/s elapsed: ' + elapsed.getMinutes());
+ element.text(elapsed.getMinutes() + 'm');
// Schedule update in one second.
function updateLater() {
@@ -22,7 +22,7 @@ angular.module('fivefifteenApp.directives', [])
var current = new Date();
var elapsed = new Date();
elapsed.setTime(current.getTime() - init.getTime());
- element.text('Minute/s elapsed: ' + elapsed.getMinutes());
+ element.text(elapsed.getMinutes() + 'm');
updateLater(); // schedule another update
}, 1000);
}

0 comments on commit 69978a4

Please sign in to comment.