mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
FIX: Form now placed after div.comment as the table-cell layout broke form rendering
This commit is contained in:
parent
10e8b7f7e0
commit
8619ed65e2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user