Prevent error when itemsView hasn't been initialized
This commit is contained in:
parent
64b8068504
commit
f938445271
1 changed files with 1 additions and 1 deletions
|
@ -2745,7 +2745,7 @@ var ZoteroPane = new function()
|
|||
this.search();
|
||||
}
|
||||
else {
|
||||
this.itemsView.focus();
|
||||
this.itemsView?.focus();
|
||||
}
|
||||
}
|
||||
else if (event.keyCode == event.DOM_VK_RETURN) {
|
||||
|
|
Loading…
Reference in a new issue