aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/main.js b/public/main.js
index db9a9f9..46ce5e0 100644
--- a/public/main.js
+++ b/public/main.js
@@ -5,7 +5,7 @@ function appendElement(parentElement, tag) {
parentElement.appendChild(element)
return element
}
-
+
function appendText(parentElement, text) {
element = document.createTextNode(text)
parentElement.appendChild(element)
@@ -40,7 +40,7 @@ function applyShift(tonalities, t1, s) {
const node = document.getElementById('g-Tonality')
if (node !== null) {
let tonality = node.innerText
- mode = tonality[tonality.length - 1] == 'm' ? 'm' : ''
+ mode = tonality[tonality.length - 1] == 'ₘ' ? 'ₘ' : ''
select = document.createElement('select')
select['name'] = 'tonality'