ggerganov commited on
Commit
0cdf6b0
1 Parent(s): cff6aed
Files changed (1) hide show
  1. index.html +6 -0
index.html CHANGED
@@ -171,6 +171,12 @@
171
 
172
  <script type="text/javascript" src="js/helpers.js"></script>
173
  <script type='text/javascript'>
 
 
 
 
 
 
174
  // web audio context
175
  var context = null;
176
 
 
171
 
172
  <script type="text/javascript" src="js/helpers.js"></script>
173
  <script type='text/javascript'>
174
+ document.addEventListener("DOMContentLoaded", () => {
175
+ //check is shared array buffer is supported
176
+ if (!window.SharedArrayBuffer) {
177
+ document.querySelector("#warning").style.display = "block";
178
+ }
179
+ });
180
  // web audio context
181
  var context = null;
182