Skip to content

Commit 81e8542

Browse files
Resetting startTime property of a hijacked sound
1 parent fb29afe commit 81e8542

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ var HTML5AudioSound = new Class({
125125
this.audio = selectedSound.audio;
126126
selectedSound.reset();
127127
selectedSound.audio = null;
128+
selectedSound.startTime = 0;
128129
}
129130
return true;
130131
},

0 commit comments

Comments
 (0)