diff options
Diffstat (limited to 'tape-deck.js')
-rw-r--r-- | tape-deck.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tape-deck.js b/tape-deck.js index 230d3c8..e0ee376 100644 --- a/tape-deck.js +++ b/tape-deck.js @@ -31,6 +31,7 @@ function loadTrackData() { function play() { if (isPlaying) { playButton.src = playButtonUp; + buttonPressSound.play(); tape.pause(); isPlaying = false; deck.src = stopImage; @@ -47,7 +48,6 @@ function play() { isPlaying = true; playButton.src = playButtonDown; - buttonPressSound.play(); deck.src = playImage; } |