Skip to content

Commit

Permalink
fix: typo in audioplayer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
petterip committed Oct 10, 2024
1 parent 2c20991 commit 2c6cf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/audioplayer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
htmx.on('htmx:_afterSettle', function () {
htmx.on('htmx:afterSettle', function (event) {
// Attach the audio players
const audioElements = document.querySelectorAll('[id^="audio-"]');
audioElements && audioElements.forEach(audio => {
Expand Down

0 comments on commit 2c6cf21

Please sign in to comment.