We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cd4225 commit ff8a138Copy full SHA for ff8a138
1 file changed
src/sound/SoundManager.js
@@ -163,13 +163,12 @@ Phaser.SoundManager.prototype = {
163
{
164
if (!!window['AudioContext'])
165
166
- try {
167
- this.context = new window['AudioContext']();
168
- } catch (error) {
169
- this.context = null;
170
- this.usingWebAudio = false;
171
- this.noAudio = true;
172
- }
+ try {
+ this.context = new window['AudioContext']();
+ } catch (error) {
+ this.context = null;
+ this.usingWebAudio = false;
+ this.noAudio = true;
173
}
174
175
else if (!!window['webkitAudioContext'])
0 commit comments