From 008cbfef2ccb9c0e52f0329dd7a4519593638265 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 21 Oct 2021 12:47:31 +0200 Subject: Fix global context (#3909) Regression from https://github.com/FreshRSS/FreshRSS/pull/3906 --- p/scripts/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'p/scripts') 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) { // // -let context; +/* eslint-disable no-var */ +var context; +/* eslint-enable no-var */ (function parseJsonVars() { const jsonVars = document.getElementById('jsonVars'); -- cgit v1.2.3