Fix indentation for focus check

pull/36/head
Samuel Mannehed 5 years ago committed by Lauri Kasanen
parent 02b9b268ff
commit 4710ec1822

@ -587,7 +587,7 @@ const UI = {
idleControlbar() { idleControlbar() {
// Don't fade if a child of the control bar has focus // Don't fade if a child of the control bar has focus
if (document.getElementById('noVNC_control_bar') if (document.getElementById('noVNC_control_bar')
.contains(document.activeElement) && document.hasFocus()) { .contains(document.activeElement) && document.hasFocus()) {
UI.activateControlbar(); UI.activateControlbar();
return; return;
} }

Loading…
Cancel
Save