Skip to content

Commit cb07fa9

Browse files
jdnichollsckeithclark
authored andcommitted
Use "window" instead of "top" for AudioContext
1 parent 9f90e98 commit cb07fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zzfx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ zzfxV=.3
1414
zzfxR=44100
1515

1616
// zzfxX - the common audio context
17-
zzfxX=new(top.AudioContext||webkitAudioContext);
17+
zzfxX=new(window.AudioContext||webkitAudioContext);

0 commit comments

Comments
 (0)