diff options
| author | Zach DeCook <zachdecook@gmail.com> | 2018-03-12 22:04:39 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@gmail.com> | 2018-03-12 22:04:39 -0400 |
| commit | 31e0f3007da1460275beea9703912856531b975a (patch) | |
| tree | 20252cde18ea9fe086082e922c5d6030026e3242 /page.js | |
| parent | 7a9d59c4b9c5ff3fbe11453c6dbed03fc6f5c240 (diff) | |
| download | prosongsa-31e0f3007da1460275beea9703912856531b975a.tar.gz | |
* Easy Transp buttons: Fix JS
Diffstat (limited to 'page.js')
| -rw-r--r-- | page.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/page.js b/page.js index 8815b63..bb5580d 100644 --- a/page.js +++ b/page.js @@ -104,8 +104,9 @@ function transpadd( fromkey, integer ) chords["Eb"] = chords["D#"]; chords["Gb"] = chords["F#"]; chords["Ab"] = chords["G#"]; - chords["Bb"] = chords["A#"]; + chords["Bb"] = chords["A#"]; var ochords = [ "C","Db","D","Eb","E","F","Gb","G","Ab","A","Bb","B" ]; - return ochords[(parseInt(chords[fromkey]) + integer + 24)%12]; -} \ No newline at end of file + var val = ochords[(parseInt(chords[fromkey]) + integer + 24)%12]; + return val; +} |
