Merge b12eb7f1f0
into 9c0ba04b31
This commit is contained in:
commit
a02ca0a769
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ socket.on('headerBackground', (data: string) => {
|
||||||
|
|
||||||
socket.on('header', (data: string) => {
|
socket.on('header', (data: string) => {
|
||||||
if (data) {
|
if (data) {
|
||||||
header.innerHTML = data;
|
header.textContent = data;
|
||||||
header.style.display = 'block';
|
header.style.display = 'block';
|
||||||
// header is 19px and footer is 19px, recaculate new terminal-container and resize
|
// header is 19px and footer is 19px, recaculate new terminal-container and resize
|
||||||
terminalContainer.style.height = 'calc(100% - 38px)';
|
terminalContainer.style.height = 'calc(100% - 38px)';
|
||||||
|
|
Loading…
Reference in a new issue