);
}
});
- $('.remove_url').live('click', function () {
+
+ $( '#the-comment-list' ).on( 'click', '.remove_url', function () {
var thisId = $(this).attr('commentid');
var data = {
action: 'comment_author_deurl',
});
return false;
- });
- $('.akismet_undo_link_removal').live('click', function () {
+ }).on( 'click', '.akismet_undo_link_removal', function () {
var thisId = $(this).attr('cid');
var thisUrl = $(this).attr('href');
var data = {
'limit': limit
},
function(result) {
- if (result.processed < limit) {
+ if (result.counts.processed < limit) {
window.location.reload();
}
else {