More solid asap test.
This commit is contained in:
parent
2e9ae1d9da
commit
629a3502ea
@ -59,7 +59,7 @@ Header =
|
|||||||
return unless Main.isThisPageLegit()
|
return unless Main.isThisPageLegit()
|
||||||
# Wait for #boardNavMobile instead of #boardNavDesktop,
|
# Wait for #boardNavMobile instead of #boardNavDesktop,
|
||||||
# it might be incomplete otherwise.
|
# it might be incomplete otherwise.
|
||||||
$.asap (-> $.id 'boardNavMobile'), Header.setBoardList
|
$.asap (-> $.id('boardNavMobile') or d.readyState is 'complete'), Header.setBoardList
|
||||||
$.prepend d.body, headerEl
|
$.prepend d.body, headerEl
|
||||||
|
|
||||||
setBoardList: ->
|
setBoardList: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user