diff options
author | Nur Rony <pro.nmrony@gmail.com> | 2017-04-21 18:05:38 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-04-21 18:05:38 +0300 |
commit | b8a63380324e05b0c46fe1ce216c6602fca0ef99 (patch) | |
tree | b7e5ff7238854fbb8bda8c1bb6253261653afc89 /app/assets/javascripts/due_date_select.js | |
parent | c76812c79ffe3ca35b00faeaaf7fa1c362d1d27d (diff) |
Adding animation for all dropdown
Diffstat (limited to 'app/assets/javascripts/due_date_select.js')
-rw-r--r-- | app/assets/javascripts/due_date_select.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/due_date_select.js b/app/assets/javascripts/due_date_select.js index dd95b6530f6..a8fc5b41fb4 100644 --- a/app/assets/javascripts/due_date_select.js +++ b/app/assets/javascripts/due_date_select.js @@ -170,8 +170,9 @@ class DueDateSelectors { const $datePicker = $(this); const calendar = new Pikaday({ field: $datePicker.get(0), - theme: 'gitlab-theme', + theme: 'gitlab-theme animate-picker', format: 'yyyy-mm-dd', + container: $datePicker.parent().get(0), onSelect(dateText) { $datePicker.val(dateFormat(new Date(dateText), 'yyyy-mm-dd')); } |