From a6db2d0db1ee74bdc999f269895ec73278a063e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Fri, 25 Jun 2021 10:36:20 +0300 Subject: [PATCH] Fix word plugin state display in the Pref dialog --- resource/word-processor-plugin-installer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resource/word-processor-plugin-installer.js b/resource/word-processor-plugin-installer.js index 943784e61d..d39b221636 100644 --- a/resource/word-processor-plugin-installer.js +++ b/resource/word-processor-plugin-installer.js @@ -122,8 +122,7 @@ ZoteroPluginInstaller.prototype = { isInstalled: function() { while(!this._version) Zotero.mainThread.processNextEvent(true); - return this.prefBranch.getCharPref("version") == this._version && - this.prefBranch.getBoolPref("installed"); + return this.prefBranch.getBoolPref("installed"); }, getAddonPath: function(addonID) {