mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Don't throw if the user types before the window finishes initializing
This commit is contained in:
parent
eeacdc7391
commit
2296d1f6ac
1 changed files with 1 additions and 1 deletions
|
|
@ -978,7 +978,7 @@ var Zotero_QuickFormat = new function () {
|
|||
* Handle return or escape
|
||||
*/
|
||||
function _onQuickSearchKeyPress(event) {
|
||||
qfGuidance.hide();
|
||||
if(qfGuidance) qfGuidance.hide();
|
||||
|
||||
var keyCode = event.keyCode;
|
||||
if(keyCode === event.DOM_VK_RETURN || keyCode === event.DOM_VK_ENTER) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue