Revert "fixes #2175"

This reverts commit b99ba4a088.
This commit is contained in:
r888888888
2014-06-20 15:51:55 -07:00
parent 44913c1640
commit 2492148ecd
3 changed files with 10 additions and 6 deletions

View File

@@ -404,12 +404,18 @@
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");