aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 112b38bce..73ac27ddd 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -53,6 +53,9 @@ var context;
context.icons.unread = decodeURIComponent(context.icons.unread);
context.extensions = json.extensions;
}());
+
+const freshrssGlobalContextLoadedEvent = new Event('freshrss:globalContextLoaded');
+document.dispatchEvent(freshrssGlobalContextLoadedEvent);
// </Global context>
function badAjax(reload) {