summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/calendar.js.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/calendar.js.coffee')
-rw-r--r--app/assets/javascripts/calendar.js.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/calendar.js.coffee b/app/assets/javascripts/calendar.js.coffee
index 44d75bd694f..4c4bc3d66ed 100644
--- a/app/assets/javascripts/calendar.js.coffee
+++ b/app/assets/javascripts/calendar.js.coffee
@@ -25,6 +25,7 @@ class @Calendar
30
]
legendCellPadding: 3
+ cellSize: $('.user-calendar').width() / 80
onClick: (date, count) ->
formated_date = date.getFullYear() + "-" + (date.getMonth()+1) + "-" + date.getDate()
$.ajax