Skip to content

Node.js based forum software built for the modern web

fixes post move

Baris Soner Usakliee1ac1b2c39b
diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js
index 799451d60a..6c20ea3e06 100644
--- a/public/src/forum/topic.js
+++ b/public/src/forum/topic.js
@@ -469,7 +469,7 @@ define(['composer'], function(composer) {
var moveModal = $('#move-post-modal'),
moveBtn = moveModal.find('#move_post_commit'),
topicId = moveModal.find('#topicId'),
- post = $(this),
+ post = $(this).parents('li'),
pid = $(this).parents('li').attr('data-pid');
moveModal.removeClass('hide');