diff --git a/js/main.js b/js/main.js index 385cb08..fe8c2ce 100644 --- a/js/main.js +++ b/js/main.js @@ -26,7 +26,7 @@ button.onclick = function(){ loop_segment(player) } -/* + function change_segment(audio) { if (playing == true) { clearInterval(audio); @@ -34,7 +34,8 @@ function change_segment(audio) { } else { loop_segment(audio) } -}*/ +} + var audio_len = player.duration