From 404fe15d7ed441d00d2813a41618f4ed2636562e Mon Sep 17 00:00:00 2001 From: ben-sailors Date: Fri, 29 Jul 2022 21:16:39 -0500 Subject: [PATCH] Added removal of _BS to allow for proper URL construction. --- static/common.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/common.js b/static/common.js index e2ab6f80a..7900296a9 100644 --- a/static/common.js +++ b/static/common.js @@ -734,6 +734,11 @@ var toUrl = function(name) { return ""; } let link = wikiBaseUrl + encodeURIComponent(name.replace(/ /g, '_')); + + if (link.includes('_BS')){ + link = link.replace('_BS', '') + } + if (server == 'JP') { link += '/JP'; }