]> git.scottworley.com Git - vopamoi/blobdiff - vopamoi.ts
Explicitly remove the completeEdit onblur event listener
[vopamoi] / vopamoi.ts
index 151a9e421af79eb25bc60b993bc687e6cb98c6e9..04c5d414be7a46190e4d5679991b0d1edc4cd38e 100644 (file)
@@ -199,6 +199,7 @@ const BrowserUI = {
     const task = input.parentElement!;
     const oldDescription = task.getAttribute("data-description")!;
     const newDescription = input.value;
+    input.removeEventListener("blur", BrowserUI.completeEdit);
     task.removeChild(task.children[0]);
     task.removeAttribute("data-description");
     task.focus();