From 39df5a80419cf7936a2698d2c8fce4679a723868 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 21 May 2020 20:55:28 +0200 Subject: Revert FOUC fix (#2991) Revert https://github.com/FreshRSS/FreshRSS/pull/2913 I have not seen any difference with/without this fix, and it might be due to the fact that is is blocked by CSP. At least in Chrome, it generates CSP warnings. If it should be re-introduced, see warning suggestions: > Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-gcoEgwf1rABkUXPaVY2M1RH34tUHWGDn9nAAn/kGYUE='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'script-src' was not explicitly set, so 'default-src' is used as a fallback. --- app/layout/layout.phtml | 1 - 1 file changed, 1 deletion(-) (limited to 'app/layout/layout.phtml') diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml index 41a9dd1de..b7389c126 100644 --- a/app/layout/layout.phtml +++ b/app/layout/layout.phtml @@ -9,7 +9,6 @@ if (_t('gen.dir') === 'rtl') { - -- cgit v1.2.3