diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-11 22:52:21 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-11 22:52:21 +0200 |
commit | f06f43804432465fc8a86ec628d07b66bda8d9c1 (patch) | |
tree | c4602ddb80e2c305ba9f18226fc12a0934a65dc7 /app | |
parent | 190c9e9f39c6d14c2a47083fcd5d64717919d9eb (diff) | |
download | gitlab-ce-f06f43804432465fc8a86ec628d07b66bda8d9c1.tar.gz |
Make commit calendar size depend on window sizefluid-commit-calendar
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/calendar.js.coffee | 1 |
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 |