mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-12-14 12:22:26 +00:00
discogs_importer: get clean url from the release json data instead of window.location
This commit is contained in:
parent
01bba52c05
commit
d9a58d0820
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ function parseDiscogsRelease(data) {
|
|||
|
||||
// Release URL
|
||||
release.urls = new Array();
|
||||
var clean_url = getCleanUrl(window.location.href, 'release');
|
||||
var clean_url = getCleanUrl(discogsRelease.uri, 'release');
|
||||
if (clean_url) {
|
||||
release.urls.push( { url: clean_url, link_type: 76 } );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue