Stop logging this.
It didn't reveal anything other than that #boardNavMobile is missing too.
This commit is contained in:
parent
f00b060f70
commit
ff65a27034
@ -92,16 +92,7 @@ Header =
|
||||
# XXX Getting weird reports here of
|
||||
# "Header" initialization crashed. TypeError: Cannot read property 'innerHTML' of null
|
||||
# Let's try to find the cause.
|
||||
if nav is null
|
||||
Main.logError
|
||||
message: "Header crash: nav is null"
|
||||
error: new Error """
|
||||
#{!!$.id 'boardNavMobile'}
|
||||
d.readyState = #{d.readyState}
|
||||
doc.className = #{doc.className}
|
||||
d.body.className = #{d.body.className}
|
||||
"""
|
||||
else
|
||||
if nav
|
||||
fullBoardList.innerHTML = nav.innerHTML
|
||||
$.rm $ '#navtopright', fullBoardList
|
||||
btn = $.el 'span',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user