fixes #991
This commit is contained in:
@@ -237,6 +237,7 @@
|
|||||||
$("#share").hide();
|
$("#share").hide();
|
||||||
$("#post_tag_string").focus();
|
$("#post_tag_string").focus();
|
||||||
$("#related-tags-button").trigger("click");
|
$("#related-tags-button").trigger("click");
|
||||||
|
$("#find-artist-button").trigger("click");
|
||||||
} else {
|
} else {
|
||||||
$("#edit").hide();
|
$("#edit").hide();
|
||||||
$("#comments").hide();
|
$("#comments").hide();
|
||||||
|
|||||||
@@ -15,12 +15,6 @@
|
|||||||
this.common_bind("#related-characters-button", "character");
|
this.common_bind("#related-characters-button", "character");
|
||||||
this.common_bind("#related-copyrights-button", "copyright");
|
this.common_bind("#related-copyrights-button", "copyright");
|
||||||
$("#find-artist-button").click(Danbooru.RelatedTag.find_artist);
|
$("#find-artist-button").click(Danbooru.RelatedTag.find_artist);
|
||||||
if ($("#c-uploads").length) {
|
|
||||||
if ($("#upload_source").val().match(/pixiv\.net/)) {
|
|
||||||
Danbooru.RelatedTag.auto_artist_find = true;
|
|
||||||
$("#find-artist-button").trigger("click");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Danbooru.RelatedTag.tags_include = function(name) {
|
Danbooru.RelatedTag.tags_include = function(name) {
|
||||||
|
|||||||
@@ -10,9 +10,8 @@
|
|||||||
this.initialize_image();
|
this.initialize_image();
|
||||||
this.initialize_info();
|
this.initialize_info();
|
||||||
this.initialize_similar();
|
this.initialize_similar();
|
||||||
if (!Danbooru.RelatedTag.auto_artist_find) {
|
$("#related-tags-button").trigger("click");
|
||||||
$("#related-tags-button").trigger("click");
|
$("#find-artist-button").trigger("click");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user