Use event delegation in edit-comments.js. Fixes #15504

git-svn-id: https://develop.svn.wordpress.org/trunk@16516 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu 2010-11-20 22:02:25 +00:00
parent 6401205f36
commit de5730ecd9

View File

@ -460,7 +460,7 @@ $(document).ready(function(){
setCommentsList();
commentReply.init();
$('span.delete a.delete').click(function(){return false;});
$(document).delegate('span.delete a.delete', 'click', function(){return false;});
if ( typeof QTags != 'undefined' )
ed_reply = new QTags('ed_reply', 'replycontent', 'replycontainer', 'more');