Edit button to class.
This commit is contained in:
parent
2c6895d6b5
commit
67fd6b8654
|
@ -58,8 +58,7 @@ function initRepoEditButton(el) {
|
||||||
|
|
||||||
function initRepoBundle() {
|
function initRepoBundle() {
|
||||||
const repo = document.getElementById('repo');
|
const repo = document.getElementById('repo');
|
||||||
const editButton = document.getElementById('editable-mode');
|
const editButton = document.querySelector('.editable-mode');
|
||||||
|
|
||||||
setInitialStore(repo.dataset);
|
setInitialStore(repo.dataset);
|
||||||
addEventsForNonVueEls();
|
addEventsForNonVueEls();
|
||||||
initDropdowns();
|
initDropdowns();
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
@include str-truncated(250px);
|
@include str-truncated(250px);
|
||||||
}
|
}
|
||||||
|
|
||||||
#editable-mode {
|
.editable-mode {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#editable-mode
|
.editable-mode
|
||||||
%repo-edit-button
|
%repo-edit-button
|
||||||
|
|
Loading…
Reference in New Issue