mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-28 20:58:31 +00:00
Use full dashboard for USB tutorials
This commit is contained in:
1 parent
960022c394
commit
ff9bf0a36c
9 files changed
+29
-140
No files matched your search
@@ -84,6 +84,9 @@
|
||||
function showLogin(yes) {
|
||||
document.getElementById('auth').style.display = yes ? '' : 'none';
|
||||
document.getElementById('app').style.display = yes ? 'none' : '';
|
||||
if (!yes) requestAnimationFrame(() => { // App is visible now: size graphs
|
||||
mkGraph(graphs.graph1), mkGraph(graphs.graph2);
|
||||
});
|
||||
if (yes) {
|
||||
document.body.style.visibility = 'visible';
|
||||
passwordEl.focus();
|
||||
|
||||
Reference in new issue
Block a user