Restore Word → LibreOffice order in Cite prefpane
This commit is contained in:
parent
b261d10b89
commit
fb4f55e809
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue