| Index: client/dom/scripts/template_wrapping_dom.js
|
| diff --git a/client/dom/scripts/template_wrapping_dom.js b/client/dom/scripts/template_wrapping_dom.js
|
| index a5a2efb1192d12ab9dd3c5600e02b2bd4fe22880..e375a5b2559a105dc5a38eec4d1ee1e0166b97a3 100644
|
| --- a/client/dom/scripts/template_wrapping_dom.js
|
| +++ b/client/dom/scripts/template_wrapping_dom.js
|
| @@ -51,7 +51,8 @@ function native__DOMWindowWrappingImplementation__get_localStorage(_this) {
|
|
|
| function native__AudioContextFactoryProvider_create() {
|
| try {
|
| - return __dom_wrap(new AudioContext());
|
| + var constructor = window.AudioContext || window.webkitAudioContext;
|
| + return __dom_wrap(new constructor());
|
| } catch (e) {
|
| throw __dom_wrap_exception(e);
|
| }
|
|
|