Edit button to class.

This commit is contained in:
Jacob Schatz 2017-08-06 12:55:51 -04:00
parent 2c6895d6b5
commit 67fd6b8654
3 changed files with 3 additions and 4 deletions

View File

@ -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();

View File

@ -43,7 +43,7 @@
@include str-truncated(250px);
}
#editable-mode {
.editable-mode {
display: inline-block;
}

View File

@ -1,2 +1,2 @@
#editable-mode
.editable-mode
%repo-edit-button