Fix up mb entities image links, .png -> .svg

Fix https://github.com/murdos/musicbrainz-userscripts/issues/115
This commit is contained in:
Laurent Monin 2016-05-29 14:42:48 +02:00
parent 80e4672bff
commit 387e0062b0
No known key found for this signature in database
GPG key ID: D859F01B646C07A7

View file

@ -68,7 +68,7 @@ var MBLinks = function (user_cache_key, version, expiration) {
title: 'See this release group on MusicBrainz',
},
place: {
img_src: '<img src="'+ this.mb_server + '/static/images/entity/place_lg.png" height=16 width=16 />'
img_src: '<img src="'+ this.mb_server + '/static/images/entity/place.svg" height=16 width=16 />'
}
}
@ -149,7 +149,7 @@ var MBLinks = function (user_cache_key, version, expiration) {
this.createMusicBrainzLink = function (mb_url, _type) {
var title = 'See this ' + _type + ' on MusicBrainz';
var img_url = this.mb_server + '/static/images/entity/' + _type + '.png';
var img_url = this.mb_server + '/static/images/entity/' + _type + '.svg';
var img_src = '<img src="' + img_url + '" height=16 width=16 />';
// handle overrides
var ti = this.type_link_info[_type];