/posts/$id: fix artcomm dialog to use dtext-ified commentary.

This commit is contained in:
evazion
2017-06-09 09:50:27 -05:00
parent 4336b04242
commit 42aed84975

View File

@@ -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,
}; };
}); });