Commit 67fd6b86 authored by Jacob Schatz's avatar Jacob Schatz

Edit button to class.

parent 2c6895d6
......@@ -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;
}
......
#editable-mode
.editable-mode
%repo-edit-button
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment