A free, self-hostable news aggregator…
Fix regression promote user (#7786)
Alexandre Alapetiteeda66dda48c5
diff --git a/p/scripts/main.js b/p/scripts/main.jsindex 60912b349..d1752624e 100644--- a/p/scripts/main.js+++ b/p/scripts/main.js@@ -2034,6 +2034,12 @@ function init_confirm_action() {return confirm(str_confirmation);}};+ const slider = document.getElementById('slider');+ if (slider) {+ slider.addEventListener('freshrss:slider-load', function (e) {+ slider.querySelectorAll('button.confirm').forEach(function (b) { b.disabled = false; });+ });+ }document.querySelectorAll('button.confirm').forEach(function (b) { b.disabled = false; });}