diff options
| author | stonedDiscord <Tukz@gmx.de> | 2023-09-20 13:10:36 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2023-09-20 13:10:36 +0200 |
| commit | dda92bd41f4bee11e2cc5de265ce4fbf5221f1ff (patch) | |
| tree | bcb0f8121955ff815758b30ec4e24a1e6bde4fba /webAO/components/audioChannels.js | |
| parent | 59028dd4046ad0715d80be8d1ed0031f20f05b7a (diff) | |
autoformat with eslint
Diffstat (limited to 'webAO/components/audioChannels.js')
| -rw-r--r-- | webAO/components/audioChannels.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webAO/components/audioChannels.js b/webAO/components/audioChannels.js index 80bdb4f..6032e66 100644 --- a/webAO/components/audioChannels.js +++ b/webAO/components/audioChannels.js @@ -3,11 +3,11 @@ * @param {number} amountOfChannels Amount of Blips to put on page */ const createAudioChannels = (amountOfChannels) => { - for (let i = 0; i < amountOfChannels; i++) { - const audioChannel = document.createElement('audio'); - audioChannel.setAttribute('class', 'audioChannel'); - document.body.appendChild(audioChannel); - } + for (let i = 0; i < amountOfChannels; i++) { + const audioChannel = document.createElement('audio'); + audioChannel.setAttribute('class', 'audioChannel'); + document.body.appendChild(audioChannel); + } }; createAudioChannels(4); export default createAudioChannels; |
