This commit is contained in:
r888888888
2014-06-03 14:22:04 -07:00
parent c4fc3b0b2f
commit b99ba4a088
3 changed files with 9 additions and 13 deletions

View File

@@ -378,18 +378,12 @@
if (e.target.hash === "#comments") {
$("#comments").show();
$("#edit").hide();
$("#share").hide();
} else if (e.target.hash === "#edit") {
$("#edit").show();
$("#comments").hide();
$("#share").hide();
$("#post_tag_string").focus().selectEnd().height($("#post_tag_string")[0].scrollHeight);
$("#related-tags-button").trigger("click");
$("#find-artist-button").trigger("click");
} else {
$("#edit").hide();
$("#comments").hide();
$("#share").show();
}
$("#post-sections li").removeClass("active");