diff --git a/main.js b/main.js index ef9af72..7d8d50d 100644 --- a/main.js +++ b/main.js @@ -540,7 +540,7 @@ function Search() { newDiv.className = 'tune'; const titleLink = document.createElement('a'); - titleLink.href = generateNewHTMLTune(tune.title, tune.composer, tune.sections, tine.timesignature, tune.url); + titleLink.href = generateNewHTMLTune(tune.title, tune.composer, tune.sections, tune.key, tune.timesignature, tune.url); titleLink.textContent = tune.title; const composerLink = document.createElement('a');