aboutsummaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-05-21 20:55:28 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-21 20:55:28 +0200
commit39df5a80419cf7936a2698d2c8fce4679a723868 (patch)
tree95d926f25663ba0af5441a32914852cc483a53ad /app/layout/layout.phtml
parent857f58879022e7ab8dcc30380ee00df5277b8c0c (diff)
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.
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml1
1 files changed, 0 insertions, 1 deletions
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') {
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1.0" />
<?= self::headStyle() ?>
- <script>/* Firefox FOUC Fix */</script>
<script id="jsonVars" type="application/json">
<?php $this->renderHelper('javascript_vars'); ?>
</script>