Skip to content

Commit 796f365

Browse files
Using checkTouchLocked with resume method
1 parent 893882f commit 796f365

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ var HTML5AudioSound = new Class({
9595
return true;
9696
},
9797
resume: function () {
98+
if (this.checkTouchLocked('method', 'resume')) {
99+
return false;
100+
}
98101
if (this.startTime > 0) {
99102
return false;
100103
}

0 commit comments

Comments
 (0)