summaryrefslogtreecommitdiff
path: root/tape-deck.js
diff options
context:
space:
mode:
Diffstat (limited to 'tape-deck.js')
-rw-r--r--tape-deck.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tape-deck.js b/tape-deck.js
index 55aa4de..f13ea8d 100644
--- a/tape-deck.js
+++ b/tape-deck.js
@@ -59,11 +59,11 @@ function getTrack(time, currentTrackIndex, trackData) {
function formatTrackData(track) {
let string = `${track.title} - ${track.artist}`;
if (track.album) {
- string.concat(` - ${track.album}`)
+ string = string.concat(` - ${track.album}`)
}
if (track.link) {
- string.concat(` - ${track.link}`)
+ string = string.concat(` - ${track.link}`)
}
return string;