Fix #608: Update Track.vue in order to use the correct search format on lyrics.wikia.com

This commit is contained in:
Von 2018-12-04 09:09:58 +00:00 committed by Eliot Berriot
parent c618748591
commit 856c49b4ae
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Fixed malformed search string when redirecting to LyricsWiki (#608)

View File

@ -228,7 +228,7 @@ export default {
},
lyricsSearchUrl() {
let base = "http://lyrics.wikia.com/wiki/Special:Search?query="
let query = this.track.artist.name + " " + this.track.title
let query = this.track.artist.name + ":" + this.track.title
return base + encodeURI(query)
},
cover() {