Browse Source

fix: properly declare content var lol

main
Inhji Y. 7 months ago
parent
commit
5d9eb941ba
  1. 2
      assets/js/editor.js

2
assets/js/editor.js

@ -10,7 +10,7 @@ const contentElement = "input.editor-content"
let view
export default function initEditor(element) {
content = findContentElement()
const content = findContentElement()
if (content === null) {
throw Error(`Content Element not found. Looking for ${contentElement}.`)

Loading…
Cancel
Save