Fix indentation for focus check
This commit is contained in:
committed by
Lauri Kasanen
parent
02b9b268ff
commit
4710ec1822
@@ -587,7 +587,7 @@ const UI = {
|
||||
idleControlbar() {
|
||||
// Don't fade if a child of the control bar has focus
|
||||
if (document.getElementById('noVNC_control_bar')
|
||||
.contains(document.activeElement) && document.hasFocus()) {
|
||||
.contains(document.activeElement) && document.hasFocus()) {
|
||||
UI.activateControlbar();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user