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
|
# XXX Getting weird reports here of
|
||||||
# "Header" initialization crashed. TypeError: Cannot read property 'innerHTML' of null
|
# "Header" initialization crashed. TypeError: Cannot read property 'innerHTML' of null
|
||||||
# Let's try to find the cause.
|
# Let's try to find the cause.
|
||||||
if nav is null
|
if nav
|
||||||
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
|
|
||||||
fullBoardList.innerHTML = nav.innerHTML
|
fullBoardList.innerHTML = nav.innerHTML
|
||||||
$.rm $ '#navtopright', fullBoardList
|
$.rm $ '#navtopright', fullBoardList
|
||||||
btn = $.el 'span',
|
btn = $.el 'span',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user