From 0994a07522ae0d7996f2fc9ea6d27aaef027934f Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Mon, 28 May 2018 00:02:17 +0000 Subject: [PATCH] fix for tags in editor --- public/editor-files/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),