From dece0628bf59bfd533f54fe1d4ab797abd2aa60d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 17 Nov 2025 20:25:05 -0500 Subject: [PATCH] fix: category labels showing up on infinite scroll on category page regression from cross posting tpl change --- public/src/modules/topicList.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/src/modules/topicList.js b/public/src/modules/topicList.js index bc5a6e4abd..4af7eee9c5 100644 --- a/public/src/modules/topicList.js +++ b/public/src/modules/topicList.js @@ -216,9 +216,12 @@ define('topicList', [ 'reputation:disabled': data['reputation:disabled'], template: { name: templateName, + [templateName]: true, }, }; - tplData.template[templateName] = true; + if (ajaxify.data.cid) { + tplData.cid = ajaxify.data.cid; + } hooks.fire('action:topics.loading', { topics: topics, after: after, before: before });