hfgd
This commit is contained in:
@@ -3703,8 +3703,8 @@ window.cancelAnimFrame = (function () {
|
|||||||
(parts.length >= 3 && parts[0] === 'h' && /^\d+$/.test(parts[parts.length - 1]))
|
(parts.length >= 3 && parts[0] === 'h' && /^\d+$/.test(parts[parts.length - 1]))
|
||||||
);
|
);
|
||||||
if (isItemLink) {
|
if (isItemLink) {
|
||||||
// Links inside comment bodies should not inherit tag/hall context
|
// Links inside comment bodies or MOTD should not inherit tag/hall/user context
|
||||||
const _inComment = anyLink.closest(".comment, .comment-content, .comment-body");
|
const _inComment = anyLink.closest(".comment, .comment-content, .comment-body, .motd-content");
|
||||||
loadItemAjax(targetUrl, !_inComment);
|
loadItemAjax(targetUrl, !_inComment);
|
||||||
} else {
|
} else {
|
||||||
loadPageAjax(targetUrl, true);
|
loadPageAjax(targetUrl, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user