summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2018-05-28 00:02:17 +0000
committerAaron Parecki <aaron@parecki.com>2018-05-28 00:02:17 +0000
commit0994a07522ae0d7996f2fc9ea6d27aaef027934f (patch)
treea1d5ebd344937c1659e42bede6ec140695d45ec9 /public
parent510c5a52a812515de0af3fef93b7a0eb55c3fea7 (diff)
fix for tags in editor
Diffstat (limited to 'public')
-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(),