stuhack icon indicating copy to clipboard operation
stuhack copied to clipboard

refactor: use functional programming like syntax to reduce clutter

Open lavafroth opened this issue 1 year ago • 0 comments

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 avatar Dec 29 '23 12:12 lavafroth