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(); });