Explorar o código

Fix global context (#3909)

Regression from https://github.com/FreshRSS/FreshRSS/pull/3906
Alexandre Alapetite %!s(int64=4) %!d(string=hai) anos
pai
achega
008cbfef2c
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      p/scripts/main.js

+ 3 - 1
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');