fx102: Fix Word for Windows initialization and prefs

This commit is contained in:
Adomas Venčkauskas 2023-01-13 09:56:59 +02:00
parent c7da16f07d
commit b6edaea54c
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ Zotero_Preferences.Cite = {
init: async function () {
// Init word plugin sections
let wordPlugins = ['libreOffice'];
if (Zotero.isWindows) {
if (Zotero.isWin) {
wordPlugins.push('winWord');
}
else if (Zotero.isMac) {

View file

@ -85,7 +85,7 @@ Zotero.Integration = new function() {
if (Zotero.isMac) {
classNames.push("@zotero.org/Zotero/integration/installer?agent=MacWord;1")
} else if (Zotero.isWindows) {
classNames.push("@zotero.org/Zotero/integration/installer?agent=WinWord;1")
classNames.push("@zotero.org/Zotero/integration/initializer?agent=WinWord;1");
}
for (let className of classNames) {
try {