Update assets/js/activitypub-admin.js

Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
This commit is contained in:
Matthias Pfefferle 2022-12-06 09:21:18 +01:00 committed by GitHub
parent 6e38657113
commit 62c99c87a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,4 +11,11 @@ jQuery( function( $ ) {
$( '#' + $( this ).attr( 'aria-controls' ) ).attr( 'hidden', false );
}
} );
$(document).on( 'wp-plugin-install-success', function( event, response ) {
setTimeout( function() {
debugger;
$( '.activate-now' ).removeClass( 'thickbox open-plugin-details-modal' );
}, 1200 );
} );
} );