Run background script after DOM is parsed

This allows us to leverage the existing loading screen for messaging without
having to explicitly wait for DOM load event.
pull/1/head
Daniel Gasienica 7 years ago
parent d35e365507
commit fb4445cbd6

@ -951,7 +951,6 @@
<script type='text/javascript' src='js/wall_clock_listener.js'></script>
<script type='text/javascript' src='js/rotate_signed_prekey_listener.js'></script>
<script type='text/javascript' src='js/keychange_listener.js'></script>
<script type='text/javascript' src='js/background.js'></script>
</head>
<body>
<div class='app-loading-screen'>
@ -965,5 +964,7 @@
<div class='message'>Loading...</div>
</div>
</div>
<script type='text/javascript' src='js/background.js'></script>
</body>
</html>

Loading…
Cancel
Save