Show/hide mouse button selector in updateViewOnly

Before this commit, the mouse button selector was hidden when the user
clicked it in view only..
This commit is contained in:
Samuel Mannehed 2018-01-12 01:38:22 +01:00
parent f3763a010c
commit 61f93180c8
1 changed files with 1 additions and 0 deletions

View File

@ -1607,6 +1607,7 @@ var UI = {
document.getElementById('noVNC_toggle_extra_keys_button') document.getElementById('noVNC_toggle_extra_keys_button')
.classList.remove('noVNC_hidden'); .classList.remove('noVNC_hidden');
} }
UI.setMouseButton(1); //has it's own logic for hiding/showing
}, },
updateLogging: function() { updateLogging: function() {