diff --git a/Games/Flash/index.html b/Games/Flash/index.html index 6d10f1d..1be3809 100644 --- a/Games/Flash/index.html +++ b/Games/Flash/index.html @@ -7,15 +7,17 @@ Flash Games + - +

Flash games.

On this page you can play flash games, all of these run on Ruffle

-

-

Interactive buddy

- Bloxorz +
+
  • Interactive buddy
  • +
  • Bloxorz
  • +
    \ No newline at end of file diff --git a/Games/Flash/index.js b/Games/Flash/index.js new file mode 100644 index 0000000..3fc622c --- /dev/null +++ b/Games/Flash/index.js @@ -0,0 +1,7 @@ +function sortList(ul) { + var ul = document.getElementById(ul); + + Array.from(ul.getElementsByTagName("LI")) + .sort((a, b) => a.textContent.localeCompare(b.textContent)) + .forEach(li => ul.appendChild(li)); + } \ No newline at end of file