Using manager.isLocked instead of removed checkTouchLocked method for pause method

This commit is contained in:
Pavle Goloskokovic 2018-01-17 19:13:21 +01:00
parent ce6f3400e2
commit fb775d4063

View file

@ -63,7 +63,7 @@ var HTML5AudioSound = new Class({
return true;
},
pause: function () {
if (this.checkTouchLocked('method', 'pause')) {
if (this.manager.isLocked(this, 'pause')) {
return false;
}
if (this.startTime > 0) {