Skip to content

Commit

Permalink
Remove leftover toggle code
Browse files Browse the repository at this point in the history
  • Loading branch information
mkly committed Feb 16, 2024
1 parent e3a5275 commit 37e5bf2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/coffee/templates/static/editable.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
document.addEventListener("DOMContentLoaded", function () {
document.querySelectorAll("[data-mlcedit]").forEach(function (el) {
const isEditable = el.isContentEditable;
el.contentEditable = !isEditable;
el.contentEditable = true;
});

function updateURL() {
Expand Down

0 comments on commit 37e5bf2

Please sign in to comment.