diff --git a/app/assets/javascripts/posts.js b/app/assets/javascripts/posts.js index 9bb47317c..c5281c58d 100644 --- a/app/assets/javascripts/posts.js +++ b/app/assets/javascripts/posts.js @@ -9,7 +9,10 @@ this.initialize_post_image_resize_links(); this.initialize_image_resize(); this.initialize_titles(); - + this.initialize_links(); + } + + Danbooru.Post.initialize_links = function() { $("#side-edit-link").click(function(e) { $("#post-edit-link").trigger("click"); $("#post_tag_string").trigger("focus"); diff --git a/app/views/admin/users/edit.html.erb b/app/views/admin/users/edit.html.erb index 9fa1dbd02..3371e8f8a 100644 --- a/app/views/admin/users/edit.html.erb +++ b/app/views/admin/users/edit.html.erb @@ -2,7 +2,7 @@