Incorrect markup of comments/responses that are displayed out of order
authorAlexander Ebert <ebert@woltlab.com>
Tue, 5 Nov 2019 16:54:55 +0000 (17:54 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 5 Nov 2019 16:54:55 +0000 (17:54 +0100)
com.woltlab.wcf/templates/commentList.tpl
com.woltlab.wcf/templates/commentResponseList.tpl

index e0380e82064f32e7ea5ea7fa2a7ecd2ba9c996f6..6bd787605aba6d8e09242d0ac87f1601f1b49260 100644 (file)
@@ -44,7 +44,7 @@
                                                
                                                <div class="htmlContent userMessage" itemprop="text">{@$comment->getFormattedMessage()}</div>
 
-                                               {if MODULE_LIKE && $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[comment] objectType="com.woltlab.wcf.comment" objectID=$comment->commentID}{else}<ul class="reactionSummaryList reactionSummaryListTiny jsOnly" data-object-type="com.woltlab.wcf.comment" data-object-id="{$comment->commentID}">{/if}
+                                           {if MODULE_LIKE && $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[comment] objectType="com.woltlab.wcf.comment" objectID=$comment->commentID}{else}<a href="#" class="reactionSummaryList reactionSummaryListTiny jsOnly" data-object-type="com.woltlab.wcf.comment" data-object-id="{$comment->commentID}" title="{lang}wcf.reactions.summary.listReactions{/lang}" style="display: none;"></a>{/if}
                                                
                                                <nav class="jsMobileNavigation buttonGroupNavigation">
                                                        <ul class="buttonList iconList">
index 2d15dee3b17bb9ce820afd0c0d17bb9c75ebeaaa..13636b86944aa4c386934f0d33de6f0ebffe6e9b 100644 (file)
@@ -37,7 +37,7 @@
                                        
                                        <div class="htmlContent userMessage" itemprop="text">{@$response->getFormattedMessage()}</div>
 
-                                       {if MODULE_LIKE && $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[response] objectType="com.woltlab.wcf.comment.response" objectID=$response->responseID}{else}<ul class="reactionSummaryList reactionSummaryListTiny jsOnly" data-object-type="com.woltlab.wcf.comment.response" data-object-id="{$response->responseID}"></ul>{/if}
+                                       {if MODULE_LIKE && $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[response] objectType="com.woltlab.wcf.comment.response" objectID=$response->responseID}{else}<a href="#" class="reactionSummaryList reactionSummaryListTiny jsOnly" data-object-type="com.woltlab.wcf.comment.response" data-object-id="{$response->responseID}" title="{lang}wcf.reactions.summary.listReactions{/lang}" style="display: none;"></a>{/if}
                                        
                                        <nav class="jsMobileNavigation buttonGroupNavigation">
                                                <ul class="buttonList iconList">