Using manager.isLocked instead of removed checkTouchLocked method for loop property

This commit is contained in:
Pavle Goloskokovic 2018-01-17 19:15:09 +01:00
parent 25f22533fd
commit 252b577ab4

View file

@ -380,7 +380,7 @@ Object.defineProperty(HTML5AudioSound.prototype, 'loop', {
},
set: function (value) {
this.currentConfig.loop = value;
if (this.checkTouchLocked('property', 'loop', value)) {
if (this.manager.isLocked(this, 'loop', value)) {
return;
}
if (this.audio) {