www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 099b45438d57bc9a8412ff63fa89b91806916e6e
parent c312576d02b1d0a2983079b00e64833997fbd92f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 13 Jun 2016 23:02:22 -0400

Merge branch '4.0'

Diffstat:
Mchrome/content/zotero/integration/quickFormat.js | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js @@ -1056,6 +1056,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;