aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-08-04 10:04:09 +0200
committerGravatar GitHub <noreply@github.com> 2025-08-04 10:04:09 +0200
commiteda66dda48c56cc4166bed12158817b7f66b4b07 (patch)
treeb99dc084beee0c9a2cfabfc7f56900bd91409990 /p
parent05c7aac84e575552a13f9dab9b9ca0d0374b4cb3 (diff)
Fix regression promote user (#7786)
Quick fix, while waiting for something better Regression from https://github.com/FreshRSS/FreshRSS/pull/7771
Diffstat (limited to 'p')
-rw-r--r--p/scripts/main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 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; });
}