From e166a048762fac8d3e7b1186a696a707bece66a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Thu, 25 Feb 2021 10:06:35 +0200 Subject: [PATCH] Fix outdated template warning for Mac Word --- chrome/content/zotero/xpcom/integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index efd87f8c76..8d53212208 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -138,7 +138,7 @@ Zotero.Integration = new function() { * @returns {Boolean} true if integration operation should be cancelled */ this.warnOutdatedTemplate = function (agent, templateVersion) { - const validAgents = new Set(['OpenOffice', 'MacWord', 'WinWord']); + const validAgents = new Set(['OpenOffice', 'MacWord2016', 'MacWord16', 'WinWord']); if (!validAgents.has(agent) || templateVersion >= TEMPLATE_VERSION) return false; const daysToIgnore = 30; const now = Math.floor(Date.now() / 1000);