diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-18 21:08:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-18 21:08:05 +0300 |
commit | 6b5d8b17e28741bccf31029633cc5af7ceab1486 (patch) | |
tree | 38732dffc21a5084b5c3d49b56b81aa11b4e657e /app/assets/javascripts/issuable | |
parent | a84995f457d775bb73598d4393c3bc99805d9b58 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/issuable')
-rw-r--r-- | app/assets/javascripts/issuable/issuable_form.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/issuable/issuable_form.js b/app/assets/javascripts/issuable/issuable_form.js index 8e76a33c7dd..38453072af8 100644 --- a/app/assets/javascripts/issuable/issuable_form.js +++ b/app/assets/javascripts/issuable/issuable_form.js @@ -46,6 +46,9 @@ function getFallbackKey() { export default class IssuableForm { constructor(form) { + if (form.length === 0) { + return; + } this.form = form; this.toggleWip = this.toggleWip.bind(this); this.renderWipExplanation = this.renderWipExplanation.bind(this); |