mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
cbd4ea48ca
commit
24e168cff6
@ -460,7 +460,7 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
setCommentsList();
|
setCommentsList();
|
||||||
commentReply.init();
|
commentReply.init();
|
||||||
$('span.delete a.delete').click(function(){return false;});
|
$(document).delegate('span.delete a.delete', 'click', function(){return false;});
|
||||||
|
|
||||||
if ( typeof QTags != 'undefined' )
|
if ( typeof QTags != 'undefined' )
|
||||||
ed_reply = new QTags('ed_reply', 'replycontent', 'replycontainer', 'more');
|
ed_reply = new QTags('ed_reply', 'replycontent', 'replycontainer', 'more');
|
||||||
|
Loading…
Reference in New Issue
Block a user