Skip to content

Commit 2a57f6e

Browse files
committed
Make new channel elements invisible by default
1 parent ffb61c4 commit 2a57f6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/custom_chat/client/vgui/chat_history.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ function CreateChannel(chid) {
374374
channels[chid] = document.createElement("pre");
375375
channels[chid].id = "channel_" + chid;
376376
channels[chid].className = "channel";
377+
channels[chid].style["visibility"] = "hidden";
377378
elChannelPanel.appendChild(channels[chid]);
378379
}
379380

0 commit comments

Comments
 (0)