Fixes #3366
This commit is contained in:
@@ -12,7 +12,13 @@
|
||||
|
||||
Danbooru.RelatedTag.initialize_buttons = function() {
|
||||
this.common_bind("#related-tags-button", "");
|
||||
$.each(JSON.parse(Danbooru.meta("related-tag-button-list")), function(i,category) {
|
||||
var related_buttons;
|
||||
try {
|
||||
related_buttons = JSON.parse(Danbooru.meta("related-tag-button-list"));
|
||||
} catch (e) {
|
||||
related_buttons = [];
|
||||
}
|
||||
$.each(related_buttons, function(i,category) {
|
||||
Danbooru.RelatedTag.common_bind("#related-" + category + "-button", category);
|
||||
});
|
||||
$("#find-artist-button").click(Danbooru.RelatedTag.find_artist);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div id="c-uploads">
|
||||
<div id="a-new">
|
||||
<div id="a-batch">
|
||||
<h1>Batch Upload</h1>
|
||||
|
||||
<section>
|
||||
|
||||
Reference in New Issue
Block a user