From 3fe68a3285e0a9f5268a64414cd6e7bb2aa8f178 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 13 Jun 2023 22:40:28 +0200 Subject: Allow deep link to extension configuration (#5449) * Allow deep link to extension configuration Full screen * Support slider * Add aside_configure Fix https://github.com/FreshRSS/FreshRSS/pull/5449#issuecomment-1588089769 --- p/scripts/extra.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'p/scripts/extra.js') diff --git a/p/scripts/extra.js b/p/scripts/extra.js index 8fa0a5c5c..916f1618b 100644 --- a/p/scripts/extra.js +++ b/p/scripts/extra.js @@ -164,6 +164,9 @@ function open_slider_listener(ev) { slider.classList.add('active'); slider.scrollTop = 0; slider_content.innerHTML = this.response.body.innerHTML; + slider_content.querySelectorAll('form').forEach(function (f) { + f.insertAdjacentHTML('afterbegin', ''); + }); context.ajax_loading = false; slider.dispatchEvent(freshrssSliderLoadEvent); }; -- cgit v1.2.3