aboutsummaryrefslogtreecommitdiff
path: root/p/scripts/feed.js
diff options
context:
space:
mode:
authorGravatar papaschloss <11808509+papaschloss@users.noreply.github.com> 2022-08-15 12:01:18 -0700
committerGravatar GitHub <noreply@github.com> 2022-08-15 21:01:18 +0200
commit8587efa62189a30e3e47075739382d52ecc34cb6 (patch)
tree66414eb134f8b07a367122e5b6286aa5c9b59edd /p/scripts/feed.js
parent839fddaba9bc72e542eff2ab8e4a9618c86804e1 (diff)
Article css filtering (#4501)
* Update feedController.php * Update subscriptionController.php * Update DatabaseDAO.php * Update Entry.php * Update Feed.php * Update FeedDAO.php * Update install.sql.mysql.php * Update install.sql.pgsql.php * Update install.sql.sqlite.php * Update sub.php * Update opml.phtml * Update ImportService.php * Update update.phtml * Update feed.js * Update install.sql.mysql.php * Update install.sql.pgsql.php * Update install.sql.sqlite.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update sub.php * Update FeedDAO.php * Update feedController.php * Update subscriptionController.php * Update Entry.php * Update Feed.php * Update feedController.php * Update subscriptionController.php * Update ImportService.php * Update opml.phtml * Update update.phtml * Update update.phtml * Update update.phtml * Update DatabaseDAO.php * Update app/Models/Entry.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/i18n/fr/sub.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update p/scripts/feed.js Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/Controllers/feedController.php * make fix-all * Update documentation * css_path_filter help message * i18n en-us ignore Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/scripts/feed.js')
-rw-r--r--p/scripts/feed.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/p/scripts/feed.js b/p/scripts/feed.js
index a5e43c614..1a6833db6 100644
--- a/p/scripts/feed.js
+++ b/p/scripts/feed.js
@@ -56,7 +56,9 @@ function init_popup_preview_selector() {
link.addEventListener('click', function (ev) {
const selector_entries = document.getElementById('path_entries').value;
- const href = link.href.replace('selector-token', encodeURIComponent(selector_entries));
+ const selector_entries_filter = document.getElementById('path_entries_filter').value;
+ const href = link.href.replace('selector-token', encodeURIComponent(selector_entries))
+ .replace('selector-filter-token', encodeURIComponent(selector_entries_filter));
openPopupWithSource(href);