Skip to content

Commit

Permalink
Fix delete button
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Jan 18, 2024
1 parent 8e411af commit f541cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion friends-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ jQuery( function ( $ ) {
$( document ).on( 'click', '.delete-feed', function () {
// eslint-disable-next-line no-alert
if ( window.confirm( friends.delete_feed_question ) ) {
$( this ).closest( 'tr' ).remove();
$( this ).closest( 'li' ).remove();
}
return false;
} );
Expand Down

0 comments on commit f541cc6

Please sign in to comment.