diff --git a/src/General/Index.coffee b/src/General/Index.coffee index f412b7541..ebc0fdc43 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -204,7 +204,7 @@ Index = $.add $.id('info'), a setupNavLinks: -> for el in $$ '.navLinks.desktop > a' - if el.getAttribute('href') is '.././catalog' + if /\/catalog$/.test el.pathname el.href = '.././' $.on el, 'click', -> switch @textContent