clean up code

This commit is contained in:
Greg Gauthier 2022-01-01 18:05:38 +00:00
parent 5fac92339e
commit f5607e3ff4
1 changed files with 1 additions and 2 deletions

View File

@ -3,8 +3,7 @@
<source src="{{ index .Params 0 }}" type="audio/mpeg">
</audio>
<script>
var audio = document.getElementById("audio_player");
let audio = document.getElementById("audio_player");
function set_volume(){
audio.volume = 0.4;
}