Echo JS 0.11.0

<~>
tracker1 1892 days ago. link 1 point
Don't use the className like this... use a ref, it's what they're there for.  Or you can at least use the event's target attribute...

    playAudio(e) {
      e.target.parentNode.getElementsByTagName("audio")[0].play()
    }

Replies