From 827ae69d2f2fc78a6be8ab294ae4eb792e4be4d8 Mon Sep 17 00:00:00 2001 From: Gordon Anderson Date: Wed, 2 Jul 2014 23:51:08 +0700 Subject: [PATCH] FIX: Ensure that comments edited using AJAX are themselves editable using AJAX --- javascript/CommentsInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/CommentsInterface.js b/javascript/CommentsInterface.js index 9ec3688..e29eb0a 100755 --- a/javascript/CommentsInterface.js +++ b/javascript/CommentsInterface.js @@ -111,7 +111,7 @@ * Clicking one of the metalinks performs the operation via ajax * this inclues the spam and approve links */ - $(".action-links a", commentsList).on('click', function(e) { + commentsList.on('click', '.action-links a', function(e) { var link = $(this); var comment = link.parents('.comment:first');