fixes #831
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
this.common_bind("#related-characters-button", "character");
|
||||
this.common_bind("#related-copyrights-button", "copyright");
|
||||
$("#find-artist-button").click(Danbooru.RelatedTag.find_artist);
|
||||
if ($("#upload_source").val().match(/pixiv\.net/)){
|
||||
$("#find-artist-button").trigger("click");
|
||||
}
|
||||
}
|
||||
|
||||
Danbooru.RelatedTag.common_bind = function(button_name, category) {
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
this.initialize_image();
|
||||
this.initialize_info();
|
||||
this.initialize_similar();
|
||||
$("#related-tags-button").trigger("click");
|
||||
if (!$("#upload_source").val().match(/pixiv\.net/)) {
|
||||
$("#related-tags-button").trigger("click");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user