Prettified Code!

This commit is contained in:
DJ2LS 2023-02-14 15:00:34 +00:00 committed by GitHub Action
parent fe991474c2
commit d7beebcce7
2 changed files with 8 additions and 6 deletions

View file

@ -272,8 +272,8 @@ window.addEventListener("DOMContentLoaded", () => {
console.log(textarea.value);
if (lastIsWritingBroadcast < new Date().getTime() - 5 * 1000) {
//console.log("Sending FECIsWriting");
console.log(config.enable_is_writing)
if(config.enable_is_writing == "True"){
console.log(config.enable_is_writing);
if (config.enable_is_writing == "True") {
ipcRenderer.send("tnc-fec-iswriting");
}
lastIsWritingBroadcast = new Date().getTime();

View file

@ -1809,15 +1809,17 @@
</div>
</div>
<div
<div
class="tab-pane"
id="chat"
role="tabpanel"
aria-labelledby="chat-tab"
tabindex="0"
>
<div class="input-group input-group-sm mb-1">
<label class="input-group-text w-50">Enable "is typing"</label>
<div class="input-group input-group-sm mb-1">
<label class="input-group-text w-50"
>Enable "is typing"</label
>
<label class="input-group-text bg-white w-50">
<div class="form-check form-switch form-check-inline">
<input
@ -1831,7 +1833,7 @@
</div>
</label>
</div>
</div>
</div>
<!--Rigctl tab contents-->
<div
class="tab-pane"