Skip to content

Commit 4b6287c

Browse files
Using manager.isLocked instead of removed checkTouchLocked method for stop method
1 parent 5c0c890 commit 4b6287c

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
@@ -97,7 +97,7 @@ var HTML5AudioSound = new Class({
9797
return true;
9898
},
9999
stop: function () {
100-
if (this.checkTouchLocked('method', 'stop')) {
100+
if (this.manager.isLocked(this, 'stop')) {
101101
return false;
102102
}
103103
if (!BaseSound.prototype.stop.call(this)) {

0 commit comments

Comments
 (0)