fetch source data: fix gallery warning for non-pixiv galleries.

This commit is contained in:
evazion
2017-06-06 13:07:44 -05:00
parent bb0be36f05
commit fed23c0baa
4 changed files with 6 additions and 7 deletions

View File

@@ -102,7 +102,7 @@
$("#source-record").html($("<a>").attr("href", new_artist_href).text("Create New"));
if (data.page_count > 1) {
if (data.image_urls.length > 1) {
$("#gallery-warning").show();
} else {
$("#gallery-warning").hide();