diff --git a/app/assets/javascripts/comments.js.erb b/app/assets/javascripts/comments.js.erb index 25b132d82..fa3e0996e 100644 --- a/app/assets/javascripts/comments.js.erb +++ b/app/assets/javascripts/comments.js.erb @@ -256,7 +256,7 @@ var Comments = (function() { } function initEditComments(parent) { - $(parent).on('click', '[data-action=edit-comment]', function() { + $(parent).unbind('click').on('click', '[data-action=edit-comment]', function() { var $this = $(this); $.ajax({