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

This commit is contained in:
Pavle Goloskokovic 2018-01-17 19:13:36 +01:00
parent fb775d4063
commit 5c0c89022e

View file

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