diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-08-06 12:55:51 -0400 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-08-06 12:55:51 -0400 |
commit | 67fd6b86546a7aacddf1bcdbe50b25c54206b790 (patch) | |
tree | 379db54480f6b0c58ef3529a86acf0ddcd6ba238 /app/assets/javascripts/repo | |
parent | 2c6895d6b5ddfc1b383e8f2d5d971161a86baae5 (diff) | |
download | gitlab-ce-67fd6b86546a7aacddf1bcdbe50b25c54206b790.tar.gz |
Edit button to class.
Diffstat (limited to 'app/assets/javascripts/repo')
-rw-r--r-- | app/assets/javascripts/repo/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/repo/index.js b/app/assets/javascripts/repo/index.js index feba755af2d..67c03680fca 100644 --- a/app/assets/javascripts/repo/index.js +++ b/app/assets/javascripts/repo/index.js @@ -58,8 +58,7 @@ function initRepoEditButton(el) { function initRepoBundle() { const repo = document.getElementById('repo'); - const editButton = document.getElementById('editable-mode'); - + const editButton = document.querySelector('.editable-mode'); setInitialStore(repo.dataset); addEventsForNonVueEls(); initDropdowns(); |