From f6c37ce57fd773ddfe39be691368a365987f7294 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 8 Jul 2019 18:04:31 -0700 Subject: [PATCH] Fix links to boards with same name on other sites being highlighted as the current board. --- src/General/Header.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/Header.coffee b/src/General/Header.coffee index cd25b2e78..77dd060a5 100644 --- a/src/General/Header.coffee +++ b/src/General/Header.coffee @@ -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