diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index 23832c656f..030975533a 100644 --- a/chrome/content/zotero/integration/quickFormat.js +++ b/chrome/content/zotero/integration/quickFormat.js @@ -1050,6 +1050,12 @@ var Zotero_QuickFormat = new function () { * Handle return or escape */ function _onQuickSearchKeyPress(event) { + // Prevent hang if another key is pressed after Enter + // https://forums.zotero.org/discussion/59157/ + if (accepted) { + event.preventDefault(); + return; + } if(qfGuidance) qfGuidance.hide(); var keyCode = event.keyCode;