saving apiKey in localstorage

This commit is contained in:
Janis
2023-01-11 12:50:34 +01:00
parent 973638180f
commit 2bb719dbea
3 changed files with 50 additions and 45 deletions

View File

@@ -2,15 +2,13 @@ function drawClients() {
let elem = document.getElementById("content");
result = "";
if (thisClient) {
getClientsInChannel(thisClient.channel).forEach((c) => {
if (selfClient) {
getClientsInChannel(selfClient.channel).forEach((c) => {
isHidden = CONFIG.hideSilent && (c.talkStatus == 0 || c.isMuted());
result += `<div class="client-div" ${
isHidden ? "hidden" : ""
} style="color:${CONFIG.style.fontColor}; font-size:${
CONFIG.style.fontSize
}">`;
result += `<div class="client-div" ${isHidden ? "hidden" : ""} style="color:${
CONFIG.style.fontColor
}; font-size:${CONFIG.style.fontSize}">`;
result += '<div class="client-img-div">';
if (c.outputMuted) {
result += ' <img src="img/muted_output.svg" />';