Skip to content

Node.js based forum software built for the modern web

fix for post-bar reply button

psychobunny41f5afa887a9
diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.js
index 7d648597ec..260433d808 100644
--- a/public/src/client/topic/postTools.js
+++ b/public/src/client/topic/postTools.js
@@ -125,6 +125,12 @@ define('forum/topic/postTools', ['composer', 'share', 'navigator'], function(com
postContainer.on('click', '[component="user/chat"]', function(e) {
openChat($(this));
});
+
+ $('#content').on('click', '[component="topic/reply"]', function() {
+ if (!threadState.locked) {
+ onReplyClicked($(this), tid, topicName);
+ }
+ });
}
function onReplyClicked(button, tid, topicName) {