Ivan Asmer 4 éve
szülő
commit
937c78d121
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -14,7 +14,7 @@
         <script type='module'>
             import {buildAST, toReact} from './index.mjs'
             md.value = localStorage.md || '# markdown here\n'
-            update.oninput = () => {
+            md.oninput = () => {
                 localStorage.md = md.value
                 const ast = buildAST(md.value)
                 console.log(ast)