fix(frontend): align article list metadata and pagination

This commit is contained in:
2026-08-18 16:23:44 +08:00
parent 0f2ac6c34a
commit 3c3ddac8be
5 changed files with 62 additions and 24 deletions
+2 -2
View File
@@ -358,8 +358,8 @@
if (!link) return;
// Ignore if inside a component that opts out.
if (link.closest("[data-aksrt-ajax-list='off']")) return;
// Native pagination core may own .aksrt-pagination-ajax buttons.
if (link.closest(".aksrt-pagination-ajax") && !link.classList.contains("ajax-next")) return;
// The canonical pagination engine exclusively owns these controls.
if (link.closest("[data-aksrt-pagination], .aksrt-comment-pagination")) return;
var href = link.getAttribute("href") || link.getAttribute("ajax-href") || link.getAttribute("data-aksrt-ajax-url");
if (!href && !link.getAttribute("data-aksrt-ajax-url")) return;