Restore Word → LibreOffice order in Cite prefpane

This commit is contained in:
Dan Stillman 2023-07-31 16:51:47 -04:00
parent b261d10b89
commit fb4f55e809

View file

@ -42,13 +42,14 @@ Zotero_Preferences.Cite = {
init: async function () {
// Init word plugin sections
let wordPlugins = ['libreOffice'];
let wordPlugins = [];
if (Zotero.isWin) {
wordPlugins.push('winWord');
}
else if (Zotero.isMac) {
wordPlugins.push('macWord');
}
wordPlugins.push('libreOffice');
await Zotero.Promise.delay();
for (let wordPlugin of wordPlugins) {
// This is the weirdest indirect code, but let's not fix what's not broken