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 04e24d2 commit 8117bd1Copy full SHA for 8117bd1
src/js/_enqueues/admin/site-health.js
@@ -55,8 +55,9 @@ jQuery( function( $ ) {
55
}
56
} );
57
58
- // Get hash from query string and open the related accordion.
59
- setTimeout( function() {
+ /* global setTimeout */
+ wp.domReady( function() {
60
+ // Get hash from query string and open the related accordion.
61
var hash = window.location.hash;
62
63
if ( hash ) {
@@ -66,7 +67,7 @@ jQuery( function( $ ) {
66
67
requestedPanel.trigger( 'click' );
68
69
- }, 100 );
70
+ } );
71
72
// Site Health test handling.
73
0 commit comments