diff options
author | Phil Hughes <me@iamphill.com> | 2018-01-11 16:18:26 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-01-15 12:12:47 +0300 |
commit | 5963b74a345a483265a0f773ac7ed57ed13fc036 (patch) | |
tree | 82de69cb701dfab206dd65a99a269579a90ba73a /app/assets/javascripts/shared/milestones/form.js | |
parent | f2db2d09f139998e69f203e15254ac12d649a459 (diff) |
correctly init GFM
Diffstat (limited to 'app/assets/javascripts/shared/milestones/form.js')
-rw-r--r-- | app/assets/javascripts/shared/milestones/form.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/shared/milestones/form.js b/app/assets/javascripts/shared/milestones/form.js index b16f7677754..db466f722c4 100644 --- a/app/assets/javascripts/shared/milestones/form.js +++ b/app/assets/javascripts/shared/milestones/form.js @@ -2,8 +2,8 @@ import ZenMode from '../../zen_mode'; import DueDateSelectors from '../../due_date_select'; import GLForm from '../../gl_form'; -export default () => { +export default (initGFM = true) => { new ZenMode(); // eslint-disable-line no-new new DueDateSelectors(); // eslint-disable-line no-new - new GLForm($('.milestone-form'), true); // eslint-disable-line no-new + new GLForm($('.milestone-form'), initGFM); // eslint-disable-line no-new }; |