Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
status-page: fix race condition in initialization. #94
Due to the fact that loading state text is inserted on window onload,
This is what happens when the async actions are resolved with timing that leads to this issue:
Steps to reproduce:
Due to the fact that loading state text is inserted on window onload, this insertion can potentially happen **after** all other async actions are already finished and thus replace the actual data. This fix makes sure that requests are triggered after onload is done.