Skip to content

Commit fb775d4

Browse files
Using manager.isLocked instead of removed checkTouchLocked method for pause method
1 parent ce6f340 commit fb775d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ var HTML5AudioSound = new Class({
6363
return true;
6464
},
6565
pause: function () {
66-
if (this.checkTouchLocked('method', 'pause')) {
66+
if (this.manager.isLocked(this, 'pause')) {
6767
return false;
6868
}
6969
if (this.startTime > 0) {

0 commit comments

Comments
 (0)