parent
605a654cd9
commit
3fa2846011
@ -204,7 +204,7 @@ Index =
|
|||||||
$.add $.id('info'), a
|
$.add $.id('info'), a
|
||||||
setupNavLinks: ->
|
setupNavLinks: ->
|
||||||
for el in $$ '.navLinks.desktop > a'
|
for el in $$ '.navLinks.desktop > a'
|
||||||
if el.getAttribute('href') is '.././catalog'
|
if /\/catalog$/.test el.pathname
|
||||||
el.href = '.././'
|
el.href = '.././'
|
||||||
$.on el, 'click', ->
|
$.on el, 'click', ->
|
||||||
switch @textContent
|
switch @textContent
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user