Use transition animation while loading
This shows the transition animation while loading, so users can see something is going on.
This commit is contained in:
parent
dfae3209eb
commit
e25f9c4010
|
@ -774,6 +774,7 @@ select:active {
|
|||
justify-content: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
:root.noVNC_loading #noVNC_transition,
|
||||
:root.noVNC_connecting #noVNC_transition,
|
||||
:root.noVNC_disconnecting #noVNC_transition,
|
||||
:root.noVNC_reconnecting #noVNC_transition {
|
||||
|
|
|
@ -150,6 +150,7 @@ const UI = {
|
|||
UI.updateVisualState();
|
||||
|
||||
document.getElementById('noVNC_setting_host').focus();
|
||||
document.documentElement.classList.remove("noVNC_loading");
|
||||
|
||||
var autoconnect = WebUtil.getConfigVar('autoconnect', false);
|
||||
if (autoconnect === 'true' || autoconnect == '1') {
|
||||
|
|
Loading…
Reference in New Issue