From 216bde957734e0b7d16cc67a860598c284760957 Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Wed, 17 Jan 2018 19:14:43 +0100 Subject: [PATCH] Using manager.isLocked instead of removed checkTouchLocked method for detune property --- src/sound/html5/HTML5AudioSound.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/html5/HTML5AudioSound.js b/src/sound/html5/HTML5AudioSound.js index b5049384e..384b9baa6 100644 --- a/src/sound/html5/HTML5AudioSound.js +++ b/src/sound/html5/HTML5AudioSound.js @@ -322,7 +322,7 @@ Object.defineProperty(HTML5AudioSound.prototype, 'detune', { }, set: function (value) { this.currentConfig.detune = value; - if (this.checkTouchLocked('property', 'detune', value)) { + if (this.manager.isLocked(this, 'detune', value)) { return; } Object.getOwnPropertyDescriptor(BaseSound.prototype, 'detune').set.call(this, value);