From 941b4f5ac837eafac7c2c25a4fafd5049fde583d Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Wed, 17 Jan 2018 19:14:06 +0100 Subject: [PATCH] Using manager.isLocked instead of removed checkTouchLocked method for mute 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 837fca060..45e092da8 100644 --- a/src/sound/html5/HTML5AudioSound.js +++ b/src/sound/html5/HTML5AudioSound.js @@ -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();