diff options
author | Aaron Parecki <aaron@parecki.com> | 2018-05-28 00:02:17 +0000 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2018-05-28 00:02:17 +0000 |
commit | 0994a07522ae0d7996f2fc9ea6d27aaef027934f (patch) | |
tree | a1d5ebd344937c1659e42bede6ec140695d45ec9 | |
parent | 510c5a52a812515de0af3fef93b7a0eb55c3fea7 (diff) |
fix for tags in editor
-rw-r--r-- | public/editor-files/editor.js | 2 |
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(), |