parent
605a654cd9
commit
3fa2846011
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user