Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncalabrese committed Mar 18, 2015
1 parent ca54f38 commit 1f01d03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions static/js/client.js
Expand Up @@ -1095,9 +1095,8 @@ var app = {}, browserSettings = {}, browserStorage = $.localStorage;
else if (offset <= (DAY_IN_SECS * 7)) parts = { value: Math.round(Math.abs(offset / DAY_IN_SECS)), label: 'day ago' };
else parts = { value: 'long ago' };

console.info('>>>>offset', offset, parts);
if (offset > DAY_IN_SECS * 7) {
parts.removeClass = 'current urgent';
parts.removeClass = 'current urgent';
parts.addClass = 'warn';
} else if (offset < MINUTE_IN_SECS * -5 || offset > (MINUTE_IN_SECS * MINUTES_SINCE_LAST_UPDATE_URGENT)) {
parts.removeClass = 'current warn';
Expand Down

0 comments on commit 1f01d03

Please sign in to comment.