Fix old focus on click references
The property was renamed when mergin the public API changes, but a few references were overlooked.
This commit is contained in:
parent
a201bfc5eb
commit
b8dfb983df
|
@ -1432,7 +1432,7 @@ var UI = {
|
|||
document.getElementById('noVNC_keyboard_button')
|
||||
.classList.add("noVNC_selected");
|
||||
if (UI.rfb) {
|
||||
UI.rfb.set_focus_on_click(false);
|
||||
UI.rfb.focusOnClick = false;
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -1440,7 +1440,7 @@ var UI = {
|
|||
document.getElementById('noVNC_keyboard_button')
|
||||
.classList.remove("noVNC_selected");
|
||||
if (UI.rfb) {
|
||||
UI.rfb.set_focus_on_click(true);
|
||||
UI.rfb.focusOnClick = true;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -442,7 +442,7 @@ RFB.prototype = {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!this._focus_on_click) {
|
||||
if (!this.focusOnClick) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue