Commit 32c48e14 authored by Jeff nan's avatar Jeff nan

debug

parent 23dc2663
......@@ -126,10 +126,10 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges {
handleTap(ev, item) {
if (item.is_right) {
item.state = 'right';
new Audio(this.rightAudio.src).play();
new Audio(this.rightAudio.src + '?v=' + new Date().getTime()).play();
} else {
item.state = 'wrong';
new Audio(this.wrongAudio.src).play();
new Audio(this.wrongAudio.src + '?v=' + new Date().getTime()).play();
setTimeout(() => {
item.state = '';
}, 1500);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment