diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/calendar.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/calendar.js.coffee b/app/assets/javascripts/calendar.js.coffee index f9c7bffdadb..26a26061539 100644 --- a/app/assets/javascripts/calendar.js.coffee +++ b/app/assets/javascripts/calendar.js.coffee @@ -175,7 +175,7 @@ class @Calendar .range(['#acd5f2', '#254e77']) .domain([0, 3]) - clickDay: (stamp) -> + clickDay: (stamp) => if @currentSelectedDate isnt stamp.date @currentSelectedDate = stamp.date formatted_date = @currentSelectedDate.getFullYear() + "-" + (@currentSelectedDate.getMonth()+1) + "-" + @currentSelectedDate.getDate() |