Skip to content

Commit fb52e3d

Browse files
Setting unlocked property to true when audio tags are ready
1 parent 5f035c8 commit fb52e3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ var HTML5AudioSoundManager = new Class({
8686
var lastTag = allTags[allTags.length - 1];
8787
lastTag.oncanplaythrough = function () {
8888
lastTag.oncanplaythrough = null;
89-
_this.touchUnlocked = true;
89+
_this.unlocked = true;
9090
};
9191
allTags.forEach(function (tag) {
9292
tag.load();

0 commit comments

Comments
 (0)