diff --git a/pages/editnote.php b/pages/editnote.php index c620953..19b29ec 100644 --- a/pages/editnote.php +++ b/pages/editnote.php @@ -24,6 +24,22 @@ if ($note->getOwnerID() != $_SESSION['uid']) { $note->saveNote(); ?> + +
diff --git a/static/js/editnote.js b/static/js/editnote.js index 1cd4fb5..fc749c9 100644 --- a/static/js/editnote.js +++ b/static/js/editnote.js @@ -44,5 +44,5 @@ var easymde = new EasyMDE({ }); var autosaveTimer = setInterval(function () { - $("#noteform").submit(); + //$("#noteform").submit(); }, 10 * 1000); \ No newline at end of file