Fix name conflict with c = console.
This commit is contained in:
parent
18beaf70d9
commit
5e403217ae
@ -145,12 +145,12 @@ Header =
|
|||||||
for node in $('#boardNavDesktop > .boardList').childNodes
|
for node in $('#boardNavDesktop > .boardList').childNodes
|
||||||
switch node.nodeName
|
switch node.nodeName
|
||||||
when '#text'
|
when '#text'
|
||||||
for c in node.nodeValue
|
for chr in node.nodeValue
|
||||||
span = $.el 'span', textContent: c
|
span = $.el 'span', textContent: chr
|
||||||
span.className = 'space' if c is ' '
|
span.className = 'space' if chr is ' '
|
||||||
nodes.push spacer() if c is ']'
|
nodes.push spacer() if chr is ']'
|
||||||
nodes.push span
|
nodes.push span
|
||||||
nodes.push spacer() if c is '['
|
nodes.push spacer() if chr is '['
|
||||||
when 'A'
|
when 'A'
|
||||||
a = node.cloneNode true
|
a = node.cloneNode true
|
||||||
a.className = 'current' if a.pathname.split('/')[1] is g.BOARD.ID
|
a.className = 'current' if a.pathname.split('/')[1] is g.BOARD.ID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user