summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-05-27 16:35:20 +0100
committerPhil Hughes <me@iamphill.com>2016-05-27 16:35:20 +0100
commita9785a4adb76afcafe9a4c750b3d2703d62b58b8 (patch)
tree516974c6ff076f30ee7ad271c61c4f0ed5c70043
parentd59f0d90e4eb2feff510cd7fb344e46b0286a1df (diff)
downloadgitlab-ce-a9785a4adb76afcafe9a4c750b3d2703d62b58b8.tar.gz
Fixed issue with calendar activity button not sending request correctly
-rw-r--r--app/assets/javascripts/calendar.js.coffee2
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()