Skip to content

A free, self-hostable news aggregator…

Fix global context (#3909)

Alexandre Alapetite008cbfef2ccb
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 13a49060b..e52b945a1 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -35,7 +35,9 @@ function xmlHttpRequestJson(req) {
// </Utils>
// <Global context>
-let context;
+/* eslint-disable no-var */
+var context;
+/* eslint-enable no-var */
(function parseJsonVars() {
const jsonVars = document.getElementById('jsonVars');