Initializing lockedActionsQueue in constructor

This commit is contained in:
Pavle Goloskokovic 2018-04-21 19:58:52 +02:00
parent 606ba6d8d7
commit f89a11793f

View file

@ -96,7 +96,7 @@ var HTML5AudioSoundManager = new Class({
* @private
* @since 3.0.0
*/
this.lockedActionsQueue = null;
this.lockedActionsQueue = this.locked ? [] : null;
/**
* Property that actually holds the value of global mute