Using checkTouchLocked with stop method

This commit is contained in:
Pavle Goloskokovic 2018-01-17 17:19:39 +01:00
parent 796f3657ac
commit 22154ceace

View file

@ -112,6 +112,9 @@ var HTML5AudioSound = new Class({
return true;
},
stop: function () {
if (this.checkTouchLocked('method', 'stop')) {
return false;
}
if (!BaseSound.prototype.stop.call(this)) {
return false;
}