From 4b6287c4cdb7ab58a88337b888503234fb7f337c Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Wed, 17 Jan 2018 19:13:47 +0100 Subject: [PATCH] Using manager.isLocked instead of removed checkTouchLocked method for stop method --- 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 0122b79c9..837fca060 100644 --- a/src/sound/html5/HTML5AudioSound.js +++ b/src/sound/html5/HTML5AudioSound.js @@ -97,7 +97,7 @@ var HTML5AudioSound = new Class({ return true; }, stop: function () { - if (this.checkTouchLocked('method', 'stop')) { + if (this.manager.isLocked(this, 'stop')) { return false; } if (!BaseSound.prototype.stop.call(this)) {