/posts/$id: fix artcomm dialog to use dtext-ified commentary.
This commit is contained in:
@@ -86,8 +86,8 @@
|
|||||||
Danbooru.ArtistCommentary.from_source = function(source) {
|
Danbooru.ArtistCommentary.from_source = function(source) {
|
||||||
return $.get("/source.json?url=" + encodeURIComponent(source)).then(function(data) {
|
return $.get("/source.json?url=" + encodeURIComponent(source)).then(function(data) {
|
||||||
return {
|
return {
|
||||||
original_title: data.artist_commentary.title,
|
original_title: data.artist_commentary.dtext_title,
|
||||||
original_description: data.artist_commentary.description,
|
original_description: data.artist_commentary.dtext_description,
|
||||||
source: source,
|
source: source,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user