diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-12-08 11:21:31 -0600 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-12-08 11:21:31 -0600 |
commit | 20ddfd9c5992a23ad394a690d194a1009ec3fd26 (patch) | |
tree | df1a917ad9cf7ef6678bb95034214e58946f5abd /app/assets/javascripts/issue_show | |
parent | 1fb49ccd7bb37d5d6bde12397f32e1c04fc009ba (diff) | |
download | gitlab-ce-20ddfd9c5992a23ad394a690d194a1009ec3fd26.tar.gz |
Add js prefix for issuable-editadd-js-prefix-issuable-edit
Diffstat (limited to 'app/assets/javascripts/issue_show')
-rw-r--r-- | app/assets/javascripts/issue_show/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/issue_show/index.js b/app/assets/javascripts/issue_show/index.js index a21ce41e65e..7b762496ba5 100644 --- a/app/assets/javascripts/issue_show/index.js +++ b/app/assets/javascripts/issue_show/index.js @@ -7,7 +7,7 @@ document.addEventListener('DOMContentLoaded', () => { const initialDataEl = document.getElementById('js-issuable-app-initial-data'); const props = JSON.parse(initialDataEl.innerHTML.replace(/"/g, '"')); - $('.issuable-edit').on('click', (e) => { + $('.js-issuable-edit').on('click', (e) => { e.preventDefault(); eventHub.$emit('open.form'); |