From 68f5cd1184ee3e6b9064f33aaa9b4397b0d1b61a Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Mon, 4 Feb 2013 02:38:28 -0500 Subject: [PATCH] typo --- src/app/scoring.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/scoring.coffee b/src/app/scoring.coffee index a3efeae6cc..a1fc5129d2 100644 --- a/src/app/scoring.coffee +++ b/src/app/scoring.coffee @@ -155,7 +155,7 @@ score = (taskId, direction, times, batch, cron) -> taskObj.history.push { date: +new Date, value: value } taskObj.completed = false batch.set "#{taskPath}.history", taskObj.history - batchSet "#{taskObj}.completed", false + batch.set "#{taskPath}.completed", false else addPoints() # obviously for delta>0, but also a trick to undo accidental checkboxes