Merge branch '4.0'
This commit is contained in:
commit
099b45438d
1 changed files with 6 additions and 0 deletions
|
@ -1056,6 +1056,12 @@ var Zotero_QuickFormat = new function () {
|
||||||
* Handle return or escape
|
* Handle return or escape
|
||||||
*/
|
*/
|
||||||
function _onQuickSearchKeyPress(event) {
|
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();
|
if(qfGuidance) qfGuidance.hide();
|
||||||
|
|
||||||
var keyCode = event.keyCode;
|
var keyCode = event.keyCode;
|
||||||
|
|
Loading…
Reference in a new issue