From 3fa2846011f859a667ed6e27b87c30aa17a5fc23 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Fri, 9 May 2014 11:15:48 +0200 Subject: [PATCH] Close #1628. Fix #1576. Fix #1627. --- src/General/Index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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