Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Fixes window.onload animation.

Joshua Appelman495c2b619b77
diff --git a/_includes/header.html b/_includes/header.html
index 71eb2f02..d9aaec73 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -1,3 +1,6 @@
+<script>
+window.onload = function () { window.document.body.classList.add('onload'); }
+</script>
<header>
<h1><a href="http://mochajs.org/">Mocha</a></h1>
<p id="tag"><em>simple</em>, <em>flexible</em>, <em>fun</em></p>