From e180fef293d498c88117efe1559ceba87d43e558 Mon Sep 17 00:00:00 2001 From: Tissevert Date: Thu, 7 May 2020 16:57:46 +0200 Subject: [PATCH] Fix navigation bug due to missing trailing slash in URLs causing RSS links to point to the main one even in tagged page --- share/js/domRenderer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/share/js/domRenderer.js b/share/js/domRenderer.js index bafa9aa..8c688e7 100644 --- a/share/js/domRenderer.js +++ b/share/js/domRenderer.js @@ -70,8 +70,7 @@ function DomRenderer(modules) { } function otherUrl(tag, all) { - var path = [tag, all ? null : 'all.html']; - return '/' + path.filter(modules.fun.defined).join('/'); + return '/' + (tag || '') + (all ? '/' : '/all.html'); } function articlesList(tag, all) {