From cd012e115b70a418af2eb1f43d896b83b27b1d11 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Fri, 11 Aug 2017 19:39:13 +0200 Subject: [PATCH] [index] Show bridge options when loading with URL fragment Loading the page with an URL fragement (#bridge-*) should result in the bridge showing all parameters by default. Unfortunately this is not possible using PHP, which is why a new JavaScript function is needed (select.js) That way, when returning from a bridge ('back to rss-bridge') will keep the selected bridge active (only works for HTML format). --- index.php | 1 + static/select.js | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 static/select.js diff --git a/index.php b/index.php index 3f9874c..6eaab42 100644 --- a/index.php +++ b/index.php @@ -213,6 +213,7 @@ $formats = Format::searchInformation(); RSS-Bridge +