diff --git a/chrome/content/zotero/bibliography.js b/chrome/content/zotero/bibliography.js index 8a14cd195..34e00d3ca 100644 --- a/chrome/content/zotero/bibliography.js +++ b/chrome/content/zotero/bibliography.js @@ -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")) {