diff options
author | Brian Cully <bjc@spork.org> | 2025-03-10 08:09:24 -0400 |
---|---|---|
committer | Brian Cully <bjc@spork.org> | 2025-03-10 08:09:24 -0400 |
commit | 82b5ae6deb3057b53e40a6c378709a03020e00c3 (patch) | |
tree | 0070946997b4ce45d58cd3c40aba535010945874 | |
parent | 32c3d85afe767ceaefb26f0cadd962793d3de642 (diff) | |
download | chords-82b5ae6deb3057b53e40a6c378709a03020e00c3.tar.gz chords-82b5ae6deb3057b53e40a6c378709a03020e00c3.zip |
change ‘min’ in chord name to ‘m’
-rw-r--r-- | key-picker.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/key-picker.mjs b/key-picker.mjs index 0a9068b..431fdcd 100644 --- a/key-picker.mjs +++ b/key-picker.mjs @@ -25,7 +25,7 @@ function formChanged(form) { const availableScales = allScales.reduce((acc, s, i) => { - const suffix = i % 2 == 0 ? '' : 'min'; + const suffix = i % 2 == 0 ? '' : 'm'; if (scale.includes(s.tonic) && scale.includes(s.third) && scale.includes(s.fifth)) { return acc.concat(`${s.tonic}${suffix}`); } |