fixes #115: add option for toggling edit on post/show

This commit is contained in:
albert
2011-10-14 15:20:26 -04:00
parent 615796fd24
commit b20f5ac368
3 changed files with 8 additions and 1 deletions

View File

@@ -9,6 +9,12 @@
this.initialize_post_image_resize_links();
this.initialize_image_resize();
this.initialize_titles();
$("#side-edit-link").click(function(e) {
$("#post-edit-link").trigger("click");
$("#post_tag_string").trigger("focus");
e.preventDefault();
});
}
Danbooru.Post.initialize_titles = function() {