diff options
Diffstat (limited to '')
-rw-r--r-- | content/api/BootstrapLoader/implementation.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/api/BootstrapLoader/implementation.js b/content/api/BootstrapLoader/implementation.js index 03e6b76..82e03d5 100644 --- a/content/api/BootstrapLoader/implementation.js +++ b/content/api/BootstrapLoader/implementation.js @@ -2,7 +2,7 @@ * This file is provided by the addon-developer-support repository at * https://github.com/thundernest/addon-developer-support * - * Version: 1.21 + * Version 1.22 * * Author: John Bieling (john@thunderbird.net) * @@ -15,7 +15,8 @@ var { ExtensionCommon } = ChromeUtils.import("resource://gre/modules/ExtensionCommon.jsm"); var { ExtensionSupport } = ChromeUtils.import("resource:///modules/ExtensionSupport.jsm"); var { AddonManager } = ChromeUtils.import("resource://gre/modules/AddonManager.jsm"); -var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm"); +var Services = globalThis.Services || + ChromeUtils.import("resource://gre/modules/Services.jsm").Services; function getThunderbirdVersion() { let parts = Services.appinfo.version.split("."); |