Prechádzať zdrojové kódy

Fix global context (#3909)

Regression from https://github.com/FreshRSS/FreshRSS/pull/3906
Alexandre Alapetite 4 rokov pred
rodič
commit
008cbfef2c
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  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');