Fixed broken layout after first reply to a comment
authorMarcel Werk <burntime@woltlab.com>
Wed, 13 Jul 2016 12:33:46 +0000 (14:33 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 13 Jul 2016 12:33:52 +0000 (14:33 +0200)
wcfsetup/install/files/js/WCF.Comment.js

index 10dcba0537e14ed6688876455e7190e5a01d93f8..c740d95166676b8fd10d4c1bf9694513b7d03c24 100644 (file)
@@ -589,7 +589,7 @@ WCF.Comment.Handler = Class.extend({
                                        $comment.find('.jsCommentResponseAdd textarea').val('').blur().trigger('updateHeight');
                                        
                                        var $responseList = $comment.find('ul.commentResponseList');
-                                       if (!$responseList.length) $responseList = $('<ul class="commentResponseList" />').insertBefore($comment.find('.commentOptionContainer'));
+                                       if (!$responseList.length) $responseList = $('<ul class="containerList commentResponseList" />').insertBefore($comment.find('.commentOptionContainer'));
                                        $(data.returnValues.template).appendTo($responseList).wcfFadeIn();
                                        
                                        if (!WCF.User.userID) {