• #dev 2026-07-03
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2026-07-03 UTC
# 17:53
gRegor
Speaking of JS, TIL https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget I haven't done a lot with event listeners and ran into an issue where event.target was actually a child element, depending where you clicked. currentTarget should always return the element the listener is bound to. Neat.