Skip to content

Conversation

@Lantea-Git
Copy link

@Lantea-Git Lantea-Git commented Jan 23, 2026

discord roll back this class

You can roll back

- const toolbar = document.querySelector('#app-mount [class*="-toolbar"]');
+ const toolbar = document.querySelector('#app-mount [class^="toolbar"]'); (This PR)

or scope by parent for compatibly with new and old ui with minimal side effects :

+const toolbar = document.querySelector('#app-mount [class*="upperContainer"] > [class*="toolbar"]');

edit : my commit i erase the last \n of file i can re-open PR if you want

fix toolbar btn (discord rollback class)
@Lantea-Git Lantea-Git closed this Jan 23, 2026
@Lantea-Git Lantea-Git deleted the discord_rollback_class branch January 23, 2026 20:19
@Lantea-Git Lantea-Git restored the discord_rollback_class branch January 23, 2026 20:20
@Lantea-Git Lantea-Git reopened this Jan 23, 2026
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.

1 participant