Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clipboard: fix O(n²) buttons #738

Closed
McShelby opened this issue Nov 29, 2023 · 0 comments
Closed

clipboard: fix O(n²) buttons #738

McShelby opened this issue Nov 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@McShelby
Copy link
Owner

The copy-to-clipboard buttons are not created n-time per code fragment but n²-times. On big sites like the theme's release notes, this causes the browser to refuse to execute the action.

@McShelby McShelby added the bug Something isn't working label Nov 29, 2023
@McShelby McShelby added this to the 5.24.0 milestone Nov 29, 2023
@McShelby McShelby self-assigned this Nov 29, 2023
McShelby added a commit that referenced this issue Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant