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');