button fixes/additions

This commit is contained in:
Rhiannon Morris 2024-09-27 18:01:19 +02:00
parent 7ca1fa126d
commit 76f7d7c76f
3 changed files with 34 additions and 15 deletions

View file

@ -44,7 +44,7 @@ function groupedShuffle<A>(subject: A[], keepTogether: A[][]): A[] {
}
function shuffleAll() {
let groups = [group('myno', 'abyss')];
let groups = [group('myno', 'abyss'), group('clip', 'cervine')];
for (const elem of Array.from(document.getElementsByClassName('shuffle'))) {
let shuffled = groupedShuffle(Array.from(elem.children), groups);