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

Edit button to class.

parent 2c6895d6
...@@ -58,8 +58,7 @@ function initRepoEditButton(el) { ...@@ -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 @@ ...@@ -43,7 +43,7 @@
@include str-truncated(250px); @include str-truncated(250px);
} }
#editable-mode { .editable-mode {
display: inline-block; display: inline-block;
} }
......
#editable-mode .editable-mode
%repo-edit-button %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