Node.js based forum software built for the modern web
use template name instead of url
Barış Soner Uşaklı20d88e68616a
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.jsindex 9051524370..515b4947e0 100644--- a/public/src/modules/navigator.js+++ b/public/src/modules/navigator.js@@ -458,11 +458,9 @@ define('navigator', [};function toggle(flag) {- const path = ajaxify.removeRelativePath(window.location.pathname.slice(1));- if (flag && (!path.startsWith('topic') && !path.startsWith('category'))) {+ if (flag && (!ajaxify.data.template.topic && !ajaxify.data.template.category)) {return;}-paginationBlockEl.toggleClass('ready', flag);paginationBlockEl.toggleClass('noreplies', count <= 1);}