Skip to content

Commit 9e98fca

Browse files
committed
Add updating-message class to waiting plugins button
1 parent c3b3236 commit 9e98fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/performance-lab/includes/admin/plugin-activate-ajax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
return;
3030
}
3131

32+
target.classList.add( 'updating-message' );
3233
target.textContent = __( 'Waiting…', 'performance-lab' );
3334

3435
const pluginSlug = target.dataset.pluginSlug;
@@ -56,7 +57,6 @@
5657

5758
const { target, pluginSlug } = activationQueue.shift();
5859

59-
target.classList.add( 'updating-message' );
6060
target.textContent = __( 'Activating…', 'performance-lab' );
6161

6262
a11y.speak( __( 'Activating…', 'performance-lab' ) );

0 commit comments

Comments
 (0)