Skip to content
Snippets Groups Projects
Commit 08bca983 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '239-tracks-download' into 'develop'

Resolve "Favorites downloading not working"

Closes #239

See merge request funkwhale/funkwhale!228
parents 83bb68c1 17d5fa69
No related branches found
No related tags found
No related merge requests found
Fixed broken track download modal (overflow and wrong URL) (#239)
......@@ -26,7 +26,11 @@ export default {
return url
}
if (url.startsWith('/')) {
return config.BACKEND_URL + url.substr(1)
let rootUrl = (
window.location.protocol + '//' + window.location.hostname +
(window.location.port ? ':' + window.location.port : '')
)
return rootUrl + url
} else {
return config.BACKEND_URL + url
}
......
......@@ -84,4 +84,7 @@ export default {
tr:not(:hover) .favorite-icon:not(.favorited) {
display: none;
}
pre {
overflow-x: scroll;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment