We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d62b441 commit eb68801Copy full SHA for eb68801
assets/js/activitypub-moderation-admin.js
@@ -346,7 +346,9 @@
346
_wpnonce: activitypubModerationL10n.nonce
347
}).done( function() {
348
// Remove the row from the UI.
349
- $( '.remove-blocklist-subscription-btn[data-url="' + url + '"]' ).closest( 'tr' ).remove();
+ $( '.remove-blocklist-subscription-btn' ).filter( function() {
350
+ return $( this ).data( 'url' ) === url;
351
+ }).closest( 'tr' ).remove();
352
353
// If no more subscriptions, remove the table.
354
var table = $( '.activitypub-blocklist-subscriptions table' );
0 commit comments