From acccf5f68252238924a68c14b34c0989dfb9f926 Mon Sep 17 00:00:00 2001 From: Francois Schwarzentruber Date: Wed, 31 Jul 2024 18:13:35 +0200 Subject: [PATCH] bug in isLyricsLine --- js/abcd2abc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/abcd2abc.js b/js/abcd2abc.js index 133ba09..b6866c5 100644 --- a/js/abcd2abc.js +++ b/js/abcd2abc.js @@ -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