From f06f43804432465fc8a86ec628d07b66bda8d9c1 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 11 Jun 2015 22:52:21 +0200 Subject: Make commit calendar size depend on window size Signed-off-by: Dmitriy Zaporozhets --- app/assets/javascripts/calendar.js.coffee | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1