From 995cf58d249c6a2ddfd042cc5b509914295c882f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 28 Feb 2016 00:08:57 +0100 Subject: [PATCH] CSP bug in install script https://github.com/FreshRSS/FreshRSS/issues/1075 --- app/install.php | 2 +- p/scripts/install.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/install.php b/app/install.php index a4a888af2c1..80e85354d51 100644 --- a/app/install.php +++ b/app/install.php @@ -829,7 +829,6 @@ function printStep5() { <?php echo _t('install.title'); ?> - @@ -877,5 +876,6 @@ function printStep5() { ?> + diff --git a/p/scripts/install.js b/p/scripts/install.js index 52d8bf8e0c5..9a49e6031cb 100644 --- a/p/scripts/install.js +++ b/p/scripts/install.js @@ -42,7 +42,7 @@ function auth_type_change() { var auth_type = document.getElementById('auth_type'); if (auth_type) { auth_type_change(); - auth_type_change.addEventListener('change', auth_type_change); + auth_type.addEventListener('change', auth_type_change); } function mySqlShowHide() {