#1875: Update reltags

* Hide reltags by default when opening dialog
* Swap link arrows
* Display reltags when clicking a button
This commit is contained in:
Toks
2013-07-23 22:50:16 -04:00
parent 6cf458563b
commit 7b522f09c1
3 changed files with 8 additions and 8 deletions

View File

@@ -42,11 +42,11 @@
$("#toggle-related-tags-link").click(function(e) {
if ($("#related-tags").is(":visible")) {
$("#related-tags").hide();
$(e.target).html("«");
$(e.target).html("»");
} else {
$("#related-tags").show();
Danbooru.RelatedTag.build_all();
$(e.target).html("»");
$(e.target).html("«");
}
e.preventDefault();
});
@@ -56,7 +56,7 @@
$("div.input:has(#post_tag_string)").prevAll().hide();
$("#open-post-edit-dialog").hide();
$("#toggle-related-tags-link").show();
$("#toggle-related-tags-link").show().click();
$("#post_tag_string").css({"resize": "none", "width": "100%"});