Paulus Schoutsen hace 4 años
padre
commit
c99e22bbdc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/start-flash.ts

+ 1 - 1
src/start-flash.ts

@@ -171,7 +171,7 @@ export const startFlash = async (
     complete${doImprov
       ? ""
       : html`, all done!<br /><br /><button
-            @click=${() => logParent.removeChild(logEl)}
+            @click=${() => logEl.parentElement?.removeChild(logEl)}
           >
             Close this dialog
           </button>`}`,