Don't focus previous row when choosing autocompleted creator

https://forums.zotero.org/discussion/71310/
This commit is contained in:
Dan Stillman 2018-04-14 09:54:55 -04:00
parent 94271325d7
commit ce834fc5f3

View file

@ -1622,8 +1622,8 @@
textbox.getAttribute('fieldname').split('-');
if (stayFocused) {
this._lastTabIndex = parseInt(textbox.getAttribute('ztabindex')) - 1;
this._tabDirection = 1;
this._lastTabIndex = parseInt(textbox.getAttribute('ztabindex'));
this._tabDirection = false;
}
var creator = Zotero.Creators.get(creatorID);