fixes #1390
This commit is contained in:
@@ -133,6 +133,31 @@
|
||||
$("#post_tag_string").trigger("focus");
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$("#parent-relationship-preview").hide();
|
||||
$("#child-relationship-preview").hide();
|
||||
|
||||
$("#parent-relationship-preview-link").click(function(e) {
|
||||
$("#parent-relationship-preview").toggle();
|
||||
if ($("#parent-relationship-preview").is(":visible")) {
|
||||
$(this).html("« hide");
|
||||
}
|
||||
else {
|
||||
$(this).html("show »");
|
||||
}
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$("#child-relationship-preview-link").click(function(e) {
|
||||
$("#child-relationship-preview").toggle();
|
||||
if ($("#child-relationship-preview").is(":visible")) {
|
||||
$(this).html("« hide");
|
||||
}
|
||||
else {
|
||||
$(this).html("show »");
|
||||
}
|
||||
e.preventDefault();
|
||||
});
|
||||
}
|
||||
|
||||
Danbooru.Post.initialize_favlist = function() {
|
||||
|
||||
Reference in New Issue
Block a user