summaryrefslogtreecommitdiffstats
path: root/content/OverlayManager.jsm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 16:59:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 16:59:43 +0000
commitf1efbbaa765e0de0075cd83ab551a64ad657ab76 (patch)
tree4ea0362fc6be71c664705478e718c1b1e67c4407 /content/OverlayManager.jsm
parentReleasing progress-linux version 4.7-1~progress7.99u1. (diff)
downloadtbsync-f1efbbaa765e0de0075cd83ab551a64ad657ab76.tar.xz
tbsync-f1efbbaa765e0de0075cd83ab551a64ad657ab76.zip
Merging upstream version 4.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'content/OverlayManager.jsm')
-rw-r--r--content/OverlayManager.jsm4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/OverlayManager.jsm b/content/OverlayManager.jsm
index a0c18d6..e9c699b 100644
--- a/content/OverlayManager.jsm
+++ b/content/OverlayManager.jsm
@@ -11,7 +11,9 @@
var EXPORTED_SYMBOLS = ["OverlayManager"];
var { NetUtil } = ChromeUtils.import("resource://gre/modules/NetUtil.jsm");
-var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
+var Services = globalThis.Services || ChromeUtils.import(
+ "resource://gre/modules/Services.jsm"
+).Services;
function OverlayManager(extension, options = {}) {
this.registeredOverlays = {};