Commit 5963b74a authored by Phil Hughes's avatar Phil Hughes

correctly init GFM

parent f2db2d09
import initForm from '../../../../shared/milestones/form';
export default () => initForm();
export default () => initForm(false);
import initForm from '../../../../shared/milestones/form';
export default () => initForm();
export default () => initForm(false);
......@@ -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
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment