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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-11-20 22:02:25 +00:00
parent cbd4ea48ca
commit 24e168cff6

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');