Add option to hide status bar for vnc_lite.html

This commit is contained in:
Кирилл Тюгаев 2023-07-05 12:06:47 +03:00
parent ca6527c1bf
commit 7cfdbf0380
1 changed files with 5 additions and 1 deletions

View File

@ -123,6 +123,10 @@
return defaultValue; return defaultValue;
} }
if (readQueryVariable('status_bar', true) == true) {
document.getElementById('top_bar').removeAttribute("hidden")
}
document.getElementById('sendCtrlAltDelButton') document.getElementById('sendCtrlAltDelButton')
.onclick = sendCtrlAltDel; .onclick = sendCtrlAltDel;
@ -169,7 +173,7 @@
</head> </head>
<body> <body>
<div id="top_bar"> <div id="top_bar" hidden>
<div id="status">Loading</div> <div id="status">Loading</div>
<div id="sendCtrlAltDelButton">Send CtrlAltDel</div> <div id="sendCtrlAltDelButton">Send CtrlAltDel</div>
</div> </div>