From b6edaea54ce6e3bae47c256a122ba8c4dbce2443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Fri, 13 Jan 2023 09:56:59 +0200 Subject: [PATCH] fx102: Fix Word for Windows initialization and prefs --- chrome/content/zotero/preferences/preferences_cite.jsx | 2 +- chrome/content/zotero/xpcom/integration.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/preferences/preferences_cite.jsx b/chrome/content/zotero/preferences/preferences_cite.jsx index 1b085973d3..afd699d78c 100644 --- a/chrome/content/zotero/preferences/preferences_cite.jsx +++ b/chrome/content/zotero/preferences/preferences_cite.jsx @@ -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) { diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index d453ca0ecd..4cd06aeba2 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -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 {