mirror of
https://github.com/photonstorm/phaser
synced 2024-11-30 16:39:34 +00:00
Calculating locally if audio is locked instead of getting that data passed as a constructor argument
This commit is contained in:
parent
43e3dc424e
commit
1c294d5921
1 changed files with 2 additions and 2 deletions
|
@ -31,9 +31,9 @@ var HTML5AudioFile = new Class({
|
|||
|
||||
initialize:
|
||||
|
||||
function HTML5AudioFile (key, url, path, config, locked)
|
||||
function HTML5AudioFile (key, url, path, config)
|
||||
{
|
||||
this.locked = locked;
|
||||
this.locked = 'ontouchstart' in window;
|
||||
|
||||
this.loaded = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue