Edit button to class.
This commit is contained in:
parent
2c6895d6b5
commit
67fd6b8654
|
@ -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();
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
@include str-truncated(250px);
|
||||
}
|
||||
|
||||
#editable-mode {
|
||||
.editable-mode {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#editable-mode
|
||||
.editable-mode
|
||||
%repo-edit-button
|
||||
|
|
Loading…
Reference in New Issue