add focuser. defer bindings until curtain opens
This commit is contained in:
parent
f801a6ee69
commit
a23c62d3e9
4 changed files with 49 additions and 33 deletions
|
|
@ -1833,7 +1833,7 @@
|
|||
}
|
||||
|
||||
function setFocus(el) {
|
||||
el = [ el || UI.load, DOC.body ];
|
||||
el = [ el || UI.focuser, UI.load, UI.sizeX, DOC.body ];
|
||||
for (let es, i=0; i<el.length; i++) {
|
||||
es = el[i];
|
||||
es.focus();
|
||||
|
|
|
|||
Loading…
Reference in a new issue