fix: unread count changes from 99+ to 123

This commit is contained in:
Barış Soner Uşaklı
2026-03-08 20:53:02 -04:00
parent 4f8bb7284b
commit b9b63bf521

View File

@@ -95,7 +95,7 @@ define('forum/header/unread', ['hooks'], function (hooks) {
// harmony uses BS5 absolute positioned element
navLink.find('[component="navigation/count"]')
.toggleClass('hidden', count <= 0)
.text(count);
.text(countText);
if (navLink.length) {
// persona mobile menu uses data-content