Don't close the control bar when disconnected

If you were very quick to disconnect, you could end up in a state
where the toolbar was hidden.
This commit is contained in:
Samuel Mannehed
2016-09-30 23:57:02 +02:00
parent 9310577bd8
commit 7520ba52d8

View File

@@ -420,6 +420,7 @@ var UI;
} else {
document.documentElement.classList.remove("noVNC_connected");
UI.updateXvpButton(0);
UI.keepControlbar();
}
// State change disables viewport dragging.