summaryrefslogtreecommitdiffstats
path: root/content/OverlayManager.jsm
diff options
context:
space:
mode:
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 = {};