summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/index.js b/client/index.js
index d8e4207..4d92b1f 100644
--- a/client/index.js
+++ b/client/index.js
@@ -323,7 +323,7 @@ function bind() {
document.querySelector("#help").classList.toggle("visible"),
);
document.querySelector("#pythagorean").addEventListener("click", () => {
- scale = scales.pythagorean;
+ scale = scales.find((scale) => scale.name === "pythagorean");
rebuild();
});