fx102: Fix Word for Windows initialization and prefs
This commit is contained in:
parent
c7da16f07d
commit
b6edaea54c
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue