Fix links to boards with same name on other sites being highlighted as the current board.
This commit is contained in:
parent
8ee847133a
commit
f6c37ce57f
@ -178,7 +178,7 @@ Header =
|
||||
nodes.push spacer() if chr is '['
|
||||
when 'A'
|
||||
a = node.cloneNode true
|
||||
a.className = 'current' if a.pathname.split('/')[1] is g.BOARD.ID
|
||||
a.className = 'current' if a.hostname is location.hostname and a.pathname.split('/')[1] is g.BOARD.ID
|
||||
nodes.push a
|
||||
fullBoardList = $ '.boardList', Header.boardList
|
||||
$.add fullBoardList, nodes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user