moved the script below the div

This commit is contained in:
/dev/urandom 2020-04-10 22:44:48 +03:00
parent 5cef64ae4d
commit beecfb2914

View file

@ -76,14 +76,6 @@ sitelen pona table will remain hidden.
</div>
</noscript>
<script>
document.fonts.load("12pt 'sitelen pona'").then(function () {
var box = document.getElementsByClassName('spflex');
for (var i=0; i < box.length; i++)
box[i].style.display = "flex";
});
</script>
<div class="spflex">
<div class="spitem"><div class="sp">a</div> a/kin</div>
<div class="spitem"><div class="sp">akesi</div> akesi</div>
@ -207,6 +199,14 @@ document.fonts.load("12pt 'sitelen pona'").then(function () {
<div class="spitem"><div class="sp">wile</div> wile</div>
</div>
<script>
document.fonts.load("12pt 'sitelen pona'").then(function () {
var box = document.getElementsByClassName('spflex');
for (var i=0; i < box.length; i++)
box[i].style.display = "flex";
});
</script>
Much like the Latin alphabet, it is written left-to-right and top-to-bottom.
Each character represents one word (or sometimes even a phrase), or one letter
in a proper name.