Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/shuffle.js')
-rw-r--r--src/script/shuffle.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/script/shuffle.js b/src/script/shuffle.js
deleted file mode 100644
index a73f4c4..0000000
--- a/src/script/shuffle.js
+++ /dev/null
@@ -1,7 +0,0 @@
-// Shuffle
-document.querySelectorAll('ul.shuffle')
- .forEach(listElt => {
- for (let i = listElt.children.length; i >= 0; i--) {
- listElt.appendChild(listElt.children[Math.random() * i | 0]);
- }
- });