Skip to content

fix: avoid multiple pace-done classes in body element#547

Open
michaelthedev wants to merge 1 commit intoCodeByZach:masterfrom
michaelthedev:patch-1
Open

fix: avoid multiple pace-done classes in body element#547
michaelthedev wants to merge 1 commit intoCodeByZach:masterfrom
michaelthedev:patch-1

Conversation

@michaelthedev
Copy link

I created a pr for the fix suggested here #515 (comment)

@gsuntres
Copy link

gsuntres commented Jan 2, 2026

Hi, how about using classList and replace:

document.body.classList.replace('pace-running', 'pace-done')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants