Skip to content

Commit

Permalink
фиксы игнора и показа веток
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcom committed Feb 27, 2024
1 parent 2b46e73 commit ea802ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/WEB-INF/jsp/view-topic.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<%@ taglib prefix="l" uri="http://www.linux.org.ru" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="lor" %>
<%--
~ Copyright 1998-2023 Linux.org.ru
~ Copyright 1998-2024 Linux.org.ru
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
Expand Down Expand Up @@ -303,7 +303,7 @@

<c:if test="${threadMode}">
<div class=nav>
Показаны ответы на комментарий. <a href="${message.link}?cid=${threadRoot}">Показать</a> все комментарии.
Показаны ответы на комментарий. <a href="${message.link}">Показать</a> все комментарии.
</div>
</c:if>

Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/js/lor.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 1998-2023 Linux.org.ru
* Copyright 1998-2024 Linux.org.ru
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down Expand Up @@ -387,7 +387,7 @@ $(document).ready(function() {
function initSamepageCommentNavigation() {
$("article.msg a[data-samepage=true]").click(function(event) {
event.preventDefault();
location.hash = "comment-" + this.search.substr(5);
location.hash = "comment-" + this.search.match(/cid=(\d+)/)[1];
})
}

Expand Down

0 comments on commit ea802ca

Please sign in to comment.