Restore setTimeout() call removed in previous commit
This commit is contained in:
parent
92383c7f20
commit
395833b940
1 changed files with 5 additions and 2 deletions
|
@ -83,8 +83,11 @@ var Zotero_File_Interface_Bibliography = new function() {
|
|||
selectIndex = 0;
|
||||
}
|
||||
|
||||
listbox.ensureIndexIsVisible(selectIndex);
|
||||
listbox.selectedIndex = selectIndex;
|
||||
// Has to be async to work properly
|
||||
setTimeout(function () {
|
||||
listbox.ensureIndexIsVisible(selectIndex);
|
||||
listbox.selectedIndex = selectIndex;
|
||||
});
|
||||
|
||||
// ONLY FOR bibliography.xul: export options
|
||||
if(document.getElementById("save-as-rtf")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue