Backend for songs.zachdecook.com
* Chord appearance: Support new json format of data
Zach DeCook 2018-03-21
parent dc7b78a · commit b932947
-rw-r--r--jsonly.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonly.js b/jsonly.js
index 257c762..4f19ecd 100644
--- a/jsonly.js
+++ b/jsonly.js
@@ -99,7 +99,7 @@ function getChordFrets(chord)
chordd = chordd.replace("Gb", "F#");
chordd = chordd.replace("Ab", "G#");
chordd = chordd.replace("Bb", "A#");
- taco = chorddict[chordd];
+ taco = chordsDict[chordd][0];
if ( taco ) {
ChordCharter.drawChord("chordy", 30, 25, chord, taco);
} else {