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

refactor: use functional programming like syntax to reduce clutter #54

Closed
wants to merge 1 commit into from

Conversation

lavafroth
Copy link

Changes

  • use .remove() method on DOM elements to remove them without accessing the parent node
  • use query selector with filters to match all elements for removal
  • use nullish ? operator for null checking before calling a method
  • move blurred image entirely out of the blurred container to prevent getting automatically blurred again

### Changes
- use `.remove()` method on DOM elements to remove them without accessing the parent node
- use query selector with filters to match all elements for removal
- use nullish `?` operator for null checking before calling a method
- move blurred image entirely out of the blurred container to prevent getting automatically blurred again
@lavafroth
Copy link
Author

Nah fam, this repo is dead. I'm giving up.

@lavafroth lavafroth closed this Sep 14, 2024
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