Removed webkit check since it is taken care of by polyfill

This commit is contained in:
Pavle Goloskokovic 2018-01-07 23:04:11 +01:00
parent 159ff0f2a2
commit 6fba90be74

View file

@ -65,7 +65,7 @@ var WebAudioSoundManager = new Class({
if (audioConfig && audioConfig.context) {
return audioConfig.context;
}
return new (window['AudioContext'] || window['webkitAudioContext'])();
return new AudioContext();
},
/**
* Adds a new sound into the sound manager.