Skip to content

Node.js based forum software built for the modern web

migrating tag editing #2230

psychobunnyc787cd671bac
diff --git a/public/src/client/topic/events.js b/public/src/client/topic/events.js
index bb50f0d556..9b9093c09b 100644
--- a/public/src/client/topic/events.js
+++ b/public/src/client/topic/events.js
@@ -107,11 +107,9 @@ define('forum/topic/events', ['forum/topic/browsing', 'forum/topic/postTools', '
});
if (data.tags && data.tags.length !== $('.tags').first().children().length) {
- ajaxify.loadTemplate('partials/post_bar', function(postBarTemplate) {
- var html = templates.parse(templates.getBlock(postBarTemplate, 'tags'), {
- tags: data.tags
- });
+ templates.parse('partials/post_bar', 'tags', {tags: data.tags}, function(html) {
var tags = $('.tags');
+
tags.fadeOut(250, function() {
tags.html(html).fadeIn(250);
});