Remove no-fouc
This commit is contained in:
parent
5de09c8789
commit
c3c1761c75
@ -5,18 +5,3 @@
|
||||
<link href="/styles/styles.css" type="text/css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
|
||||
<link href="/favicon.ico" rel="shortcut icon" />
|
||||
<link rel="alternate" href="/feed" title="9iron RSS Feed" type="application/rss+xml" />
|
||||
<!-- No FOUC -->
|
||||
<style type="text/css">
|
||||
.no-fouc {display: none;}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
document.documentElement.classname = 'no-fouc';
|
||||
window.addEventListener("load", function(event) {
|
||||
// No flash of unstyled content
|
||||
nf = document.getElementsByClassName('no-fouc');
|
||||
for (i = 0, len = nf.length; i < len; i++) {
|
||||
nf[i].removeClass('no-fouc');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user