clean up code
This commit is contained in:
parent
5fac92339e
commit
f5607e3ff4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user