From fe6fdd3ff6aee7837bb4e6e25ee90eacb50de2b1 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Mon, 6 Nov 2023 16:29:40 -0500 Subject: [PATCH] Ensure require() is available to CEs --- chrome/content/zotero/customElements.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/customElements.js b/chrome/content/zotero/customElements.js index 42fd5161b3..25baa48c82 100644 --- a/chrome/content/zotero/customElements.js +++ b/chrome/content/zotero/customElements.js @@ -25,6 +25,8 @@ 'use strict'; +Services.scriptloader.loadSubScript("resource://zotero/require.js", this); + Services.scriptloader.loadSubScript("chrome://global/content/customElements.js", this); Services.scriptloader.loadSubScript("chrome://zotero/content/elements/base.js", this);