summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issue_show
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-12-08 11:21:31 -0600
committerClement Ho <ClemMakesApps@gmail.com>2017-12-08 11:21:31 -0600
commit20ddfd9c5992a23ad394a690d194a1009ec3fd26 (patch)
treedf1a917ad9cf7ef6678bb95034214e58946f5abd /app/assets/javascripts/issue_show
parent1fb49ccd7bb37d5d6bde12397f32e1c04fc009ba (diff)
downloadgitlab-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.js2
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(/&quot;/g, '"'));
- $('.issuable-edit').on('click', (e) => {
+ $('.js-issuable-edit').on('click', (e) => {
e.preventDefault();
eventHub.$emit('open.form');