summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/editor-files/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/editor-files/editor.js b/public/editor-files/editor.js
index 516e16c..fefbb47 100644
--- a/public/editor-files/editor.js
+++ b/public/editor-files/editor.js
@@ -72,7 +72,7 @@ $(function() {
$('#publish-in-progress').removeClass('hidden');
$('#publish-fields').addClass('hidden');
- var category = $("#note_category").tokenfield("getTokens").map(function(t){ return t.value});
+ var category = $("#post-tags").tokenfield("getTokens").map(function(t){ return t.value});
$.post('/editor/publish', {
name: $("#post-name").val(),