Make WordPress Core

Changeset 16516


Ignore:
Timestamp:
11/20/2010 10:02:25 PM (14 years ago)
Author:
scribu
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/edit-comments.dev.js

    r15530 r16516  
    461461    setCommentsList();
    462462    commentReply.init();
    463     $('span.delete a.delete').click(function(){return false;});
     463    $(document).delegate('span.delete a.delete', 'click', function(){return false;});
    464464
    465465    if ( typeof QTags != 'undefined' )
Note: See TracChangeset for help on using the changeset viewer.