FIX: Form now placed after div.comment as the table-cell layout broke form rendering

This commit is contained in:
Gordon Anderson 2015-02-12 22:46:04 +07:00
parent 10e8b7f7e0
commit 8619ed65e2

View File

@ -261,7 +261,7 @@
// get the root node of the comment // get the root node of the comment
var commentbox = $(this).closest('.comment'); var commentbox = $(this).closest('.comment');
commentbox.append($('#CommentsFormContainer'));//.parent().parent()); commentbox.parent().append($('#CommentsFormContainer'));//.parent().parent());
$(this).parent().addClass('hidden'); // hide reply button $(this).parent().addClass('hidden'); // hide reply button
$(this).parent().parent().find('.cancelReplyButton').removeClass('hidden'); // show cancel reply button $(this).parent().parent().find('.cancelReplyButton').removeClass('hidden'); // show cancel reply button