mirror of
https://github.com/photonstorm/phaser
synced 2025-02-25 20:07:08 +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…
Add table
Reference in a new issue