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

This commit is contained in:
Pavle Goloskokovic 2018-01-17 19:14:55 +01:00
parent 216bde9577
commit 25f22533fd

View file

@ -348,7 +348,7 @@ Object.defineProperty(HTML5AudioSound.prototype, 'seek', {
}
},
set: function (value) {
if (this.checkTouchLocked('property', 'seek', value)) {
if (this.manager.isLocked(this, 'seek', value)) {
return;
}
if (this.startTime > 0) {