diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-27 18:35:20 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-05-27 18:35:20 +0300 |
commit | a9785a4adb76afcafe9a4c750b3d2703d62b58b8 (patch) | |
tree | 516974c6ff076f30ee7ad271c61c4f0ed5c70043 /app | |
parent | d59f0d90e4eb2feff510cd7fb344e46b0286a1df (diff) |
Fixed issue with calendar activity button not sending request correctly
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() |