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