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

This commit is contained in:
Pavle Goloskokovic 2018-01-17 19:14:06 +01:00
parent 4b6287c4cd
commit 941b4f5ac8

View file

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