Skip to content

Commit

Permalink
Fix sound link in numerology edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpp committed Oct 3, 2024
1 parent 503469e commit 1d904b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webroot/template/numerology-edit.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<div id="num-sound-file-existing" class="border bg-light px-2 py-1 my-2" style="border-color: #ced4da">
<button type="button" class="btn btn-sm btn-danger" onclick="$('#num-sound-file-new').removeClass('d-none'),$(this.parentNode).remove()">🗙</button>
{{numerology.sound_file}}
<a href="#" onclick="(new Audio('/sound?name={{ numerology.sound_file }}')).play(); return false" class="align-text-top">
<a href="#" onclick="(new Audio('sound/{{ numerology.sound_file }}')).play(); return false" class="align-text-top">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-volume-up" viewBox="0 0 16 16">
<path d="M11.536 14.01A8.47 8.47 0 0 0 14.026 8a8.47 8.47 0 0 0-2.49-6.01l-.708.707A7.48 7.48 0 0 1 13.025 8c0 2.071-.84 3.946-2.197 5.303z"/>
<path d="M10.121 12.596A6.48 6.48 0 0 0 12.025 8a6.48 6.48 0 0 0-1.904-4.596l-.707.707A5.48 5.48 0 0 1 11.025 8a5.48 5.48 0 0 1-1.61 3.89z"/>
Expand Down

0 comments on commit 1d904b6

Please sign in to comment.