From 7520ba52d8fa2c94b1d73abb4bee79c97401c107 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Fri, 30 Sep 2016 23:57:02 +0200 Subject: [PATCH] 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. --- app/ui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/ui.js b/app/ui.js index f84b3b7e..13c00247 100644 --- a/app/ui.js +++ b/app/ui.js @@ -420,6 +420,7 @@ var UI; } else { document.documentElement.classList.remove("noVNC_connected"); UI.updateXvpButton(0); + UI.keepControlbar(); } // State change disables viewport dragging.