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

#26 Make glitch(.) idempotent to allow successive glitch calls on the same query selector #27

Merged
merged 2 commits into from
May 30, 2024

Conversation

7PH
Copy link
Owner

@7PH 7PH commented May 30, 2024

Fixes #26

The bug was only reproducible when using the query selector API.

Mitigation: add a data attribute islayer to glitch layers to avoid glitching them on successive calls.

Copy link

github-actions bot commented May 30, 2024

size-limit report 📦

Path Size
dist/powerglitch.min.js 1.95 KB (+1.02% 🔺)

@7PH 7PH self-assigned this May 30, 2024
@7PH 7PH added the bug Something isn't working label May 30, 2024
@7PH 7PH merged commit 6a80342 into master May 30, 2024
4 checks passed
@7PH 7PH deleted the dev/7ph branch May 30, 2024 22:11
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

Successfully merging this pull request may close these issues.

Can't call glitch() multiple times with query selectors
1 participant