Fix indentation for focus check
This commit is contained in:
parent
8df281cce6
commit
e7fa686f32
|
@ -520,7 +520,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…
Reference in New Issue