summaryrefslogtreecommitdiffstats
path: root/content/manager
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--content/manager/accountManager.js4
-rw-r--r--content/manager/accounts.js4
-rw-r--r--content/manager/editAccount.js4
-rw-r--r--content/manager/eventlog/eventlog.js4
4 files changed, 12 insertions, 4 deletions
diff --git a/content/manager/accountManager.js b/content/manager/accountManager.js
index d442222..2779a4f 100644
--- a/content/manager/accountManager.js
+++ b/content/manager/accountManager.js
@@ -8,7 +8,9 @@
"use strict";
-var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
+var Services = globalThis.Services || ChromeUtils.import(
+ "resource://gre/modules/Services.jsm"
+).Services;
var { TbSync } = ChromeUtils.import("chrome://tbsync/content/tbsync.jsm");
var tbSyncAccountManager = {
diff --git a/content/manager/accounts.js b/content/manager/accounts.js
index 45774b1..e284f5d 100644
--- a/content/manager/accounts.js
+++ b/content/manager/accounts.js
@@ -8,7 +8,9 @@
"use strict";
-var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
+var Services = globalThis.Services || ChromeUtils.import(
+ "resource://gre/modules/Services.jsm"
+).Services;
var { TbSync } = ChromeUtils.import("chrome://tbsync/content/tbsync.jsm");
var tbSyncAccounts = {
diff --git a/content/manager/editAccount.js b/content/manager/editAccount.js
index ff4db50..481fd0b 100644
--- a/content/manager/editAccount.js
+++ b/content/manager/editAccount.js
@@ -8,7 +8,9 @@
"use strict";
-var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
+var Services = globalThis.Services || ChromeUtils.import(
+ "resource://gre/modules/Services.jsm"
+).Services;
var { TbSync } = ChromeUtils.import("chrome://tbsync/content/tbsync.jsm");
var tbSyncAccountSettings = {
diff --git a/content/manager/eventlog/eventlog.js b/content/manager/eventlog/eventlog.js
index eaa0b47..49bfa14 100644
--- a/content/manager/eventlog/eventlog.js
+++ b/content/manager/eventlog/eventlog.js
@@ -8,7 +8,9 @@
"use strict";
-var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
+var Services = globalThis.Services || ChromeUtils.import(
+ "resource://gre/modules/Services.jsm"
+).Services;
var { TbSync } = ChromeUtils.import("chrome://tbsync/content/tbsync.jsm");
var tbSyncEventLog = {