More solid asap test.

This commit is contained in:
Nicolas Stepien 2013-04-23 18:14:25 +02:00
parent 2e9ae1d9da
commit 629a3502ea

View File

@ -59,7 +59,7 @@ Header =
return unless Main.isThisPageLegit()
# Wait for #boardNavMobile instead of #boardNavDesktop,
# it might be incomplete otherwise.
$.asap (-> $.id 'boardNavMobile'), Header.setBoardList
$.asap (-> $.id('boardNavMobile') or d.readyState is 'complete'), Header.setBoardList
$.prepend d.body, headerEl
setBoardList: ->