aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-10-21 12:47:31 +0200
committerGravatar GitHub <noreply@github.com> 2021-10-21 12:47:31 +0200
commit008cbfef2ccb9c0e52f0329dd7a4519593638265 (patch)
treee0bdf66d0329fcc85d372edbf8fcbde043a97fc3 /p/scripts
parentb438d8bb3d4b3dea6d28d0b0c73da9393c9d8299 (diff)
Fix global context (#3909)
Regression from https://github.com/FreshRSS/FreshRSS/pull/3906
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js4
1 files changed, 3 insertions, 1 deletions
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');