fix(frontend): keep asset and homepage filters in DOM

This commit is contained in:
kate522 committed 2026-09-03 19:21:24 +08:00
1 parent a0adddce59
commit 7308f055c7
23 files changed
+362 -305

No files matched your search

+1 -1
View File
@@ -288,7 +288,7 @@
items.forEach(function (item) {
html += '<a class="aksrt-doc-index-card" href="' + this.escHtml(item.url) + '" data-cat-id="' + (item.cat_id || 0) + '">';
if (item.thumbnail) {
html += '<img' + window.aksrtGetLazyImageAttr('lazy_other', item.thumbnail, 'aksrt-doc-index-card__thumb') + ' alt="">';
html += '<img src="' + this.escHtml(item.thumbnail) + '" class="aksrt-doc-index-card__thumb" alt="">';
}
html += '<div class="aksrt-doc-index-card__body">';
html += '<h3 class="aksrt-doc-index-card__title">' + this.escHtml(item.title) + '</h3>';