From efa031bcca46bb7d32e5f4e8a2c1521313bebe37 Mon Sep 17 00:00:00 2001 From: Alma Armas Date: Sun, 4 Oct 2020 06:51:43 -0700 Subject: [PATCH] Fix note creation --- Web/Presenters/templates/Notes/Create.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/Presenters/templates/Notes/Create.xml b/Web/Presenters/templates/Notes/Create.xml index 833b7c58..5cd1cadb 100644 --- a/Web/Presenters/templates/Notes/Create.xml +++ b/Web/Presenters/templates/Notes/Create.xml @@ -7,7 +7,7 @@ {/block} {block content} -
+

@@ -35,7 +35,7 @@ }); }); - document.querySelector("form").addEventListener("submit", function() { + document.querySelector("#noteFactory").addEventListener("submit", function() { document.querySelector("textarea").value = window._editor.getValue(); });