js: Don't show running status on buttons pulled to right

This prevents incorrect animation for running status on first wizard steps.

Tests:

- In the first boot wizard, network topology step, click next and notice that
the running status does not appear next to 'skip wizard' link.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
Sunil Mohan Adapa 2020-08-19 16:04:27 -07:00 committed by Joseph Nuthalapati
parent 4e9d22d376
commit 4a6a936de4
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35

View File

@ -52,6 +52,7 @@ function onSubmitAddProgress(event) {
if (!button.classList.contains('btn') ||
button.classList.contains('btn-link') ||
button.classList.contains('no-running-status') ||
button.classList.contains('pull-right') ||
button.hasAttribute('disabled')) {
return;
}