Fix outdated template warning for Mac Word
This commit is contained in:
parent
7cd861a9e1
commit
e166a04876
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue