Skip to content

Commit

Permalink
bug in isLyricsLine
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Schwarzentruber committed Jul 31, 2024
1 parent 9df30ef commit acccf5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/abcd2abc.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function isStaffInstrumentAndOpenCurlyBracket(abcdLine) {


function isLyricsLine(abcdLine) {
if (line.startsWith("😀") || line.startsWith("💬"))
if (abcdLine.startsWith("😀") || abcdLine.startsWith("💬"))
return abcdLine.substr(2);

//TODO: detect that the line does not contain music and therefore it is lyrics
Expand Down

0 comments on commit acccf5f

Please sign in to comment.