diff options
| author | sD <stoned@derpymail.org> | 2020-02-15 19:39:58 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-02-15 19:39:58 +0100 |
| commit | 7a670b6cd3064d339c03c7d0840c176087f1ec99 (patch) | |
| tree | f7b14b23c294722aba6a74580df9843048b2a0f5 /webAO/client.js | |
| parent | aa15aae55a85648a7248032e932778f14feb0d12 (diff) | |
audio won't work unless theres an actual audio element
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index 3353cc1..e7b2362 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1193,7 +1193,7 @@ class Viewport { this.shoutaudio = new Audio(); - this.music = new Audio(); + this.music = document.getElementById("client_musicaudio"); this.music.play(); this.updater = null; |
