aboutsummaryrefslogtreecommitdiff
path: root/webAO/components/audioChannels.js
diff options
context:
space:
mode:
authorstonedDiscord <stonedDiscord@users.noreply.github.com>2024-11-20 13:04:14 +0000
committerGitHub Action <actions@github.com>2024-11-20 13:04:14 +0000
commitb8283b373caa2ac198497a8dd466bf494d81982a (patch)
tree23de734e7ab5c093ace1d1a8fec716bb7603bdbf /webAO/components/audioChannels.js
parent376fadcca3a1b5c32a3361b2843c6c576237a1a3 (diff)
Prettified Code!
Diffstat (limited to 'webAO/components/audioChannels.js')
-rw-r--r--webAO/components/audioChannels.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/webAO/components/audioChannels.js b/webAO/components/audioChannels.js
index 6032e66..9eca860 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;