Node.js based forum software built for the modern web
fixed post chat bug
CisMouse5efec136165
diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.jsindex 1c05fe66d3..544b6dd897 100644--- a/public/src/client/topic/postTools.js+++ b/public/src/client/topic/postTools.js@@ -135,7 +135,7 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translatoropenMovePostModal($(this));});- postContainer.on('click', '[component="user/chat"]', function(e) {+ postContainer.on('click', '[component="post/chat"]', function(e) {openChat($(this));});}@@ -357,7 +357,7 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translator}function openChat(button) {- var post = button.parents('data-pid');+ var post = button.parents('[data-pid]');app.openChat(post.attr('data-username'), post.attr('data-uid'));button.parents('.btn-group').find('.dropdown-toggle').click();