Fix #3799: Fetch source data link is broken
This commit is contained in:
@@ -138,13 +138,13 @@ Upload.fill_source_info = function(data) {
|
||||
});
|
||||
|
||||
var link = $("<a>").attr("href", "/artists/new?" + new_artist_params).text("Create new artist");
|
||||
$("#source-Artists").html(link);
|
||||
$("#source-danbooru-artists").html(link);
|
||||
} else {
|
||||
var artistLinks = data.artists.map(function (artist) {
|
||||
return $('<a class="tag-type-1">').attr("href", "/artists/" + artist.id).text(artist.name);
|
||||
});
|
||||
|
||||
$("#source-Artists").html(artistLinks)
|
||||
$("#source-danbooru-artists").html(artistLinks)
|
||||
}
|
||||
|
||||
if (data.image_urls.length > 1) {
|
||||
@@ -205,4 +205,4 @@ $(function() {
|
||||
Upload.initialize_all();
|
||||
});
|
||||
|
||||
export default Upload
|
||||
export default Upload
|
||||
|
||||
Reference in New Issue
Block a user