mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Import Wizard: Fix focus loss on options page
Also resolves an issue preventing the wizard from continuing when pressing the Enter key on this screen.
This commit is contained in:
parent
971c57fedd
commit
6eafb89e82
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ const Zotero_Import_Wizard = { // eslint-disable-line no-unused-vars
|
|||
},
|
||||
|
||||
updateFocus() {
|
||||
(this.wizard.currentPage.querySelector('radiogroup:not([disabled]),checkbox:not([disabled])') ?? this.wizard.currentPage).focus();
|
||||
Services.focus.moveFocus(window, null, Services.focus.MOVEFOCUS_FIRST, 0);
|
||||
},
|
||||
|
||||
async startImport() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue