Commits

Anonymous committed 7c50073

Really fixed the two '2 hours' in the dialog

Comments (0)

Files changed (1)

js/noprocrast/noprocrast.js

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