1. Brian McKenna
  2. confluence-noprocrast

Commits

Brian McKenna  committed 2f4fa85

Fixed two '1 hour' marks.

  • Participants
  • Parent commits 5648059
  • Branches default

Comments (0)

Files changed (1)

File js/noprocrast/noprocrast.js

View file
         message, prettyTime, dialog, panel, timeSelect;
 
     prettyTime = function(mins) {
-	if (mins > 1200) {
+	if (mins > 120) {
 	    return Math.floor(mins / 60) + ' hours';
 	} else if (mins >= 60) {
 	    return '1 hour';