Fix #1576.
Fix #1627.
This commit is contained in:
Mayhem 2014-05-09 11:15:48 +02:00
parent 605a654cd9
commit 3fa2846011

View File

@ -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