From 2d807e06b1abffdbc40a60c3623e22e3c6b818c6 Mon Sep 17 00:00:00 2001 From: maTh Date: Tue, 19 Jul 2022 12:56:09 +0200 Subject: Fix/Improved: Slider mobile (#4416) * add close button, add content slider div * add &ajax=1#slider to the links * CSS * fix showPW functionality * open slider after received Ajax * do not show empty slider * RTL CSS * fixed code smell * improved: links prep via JS * Redirect anchor * enable #anchors in printuri() * enable #slider when config was saved * Active sliding via JS Co-authored-by: Alexandre Alapetite --- app/views/helpers/feed/update.phtml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'app/views/helpers/feed') diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index dc0f53a52..b24812b65 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -19,13 +19,13 @@ feed->id()); + $url = _url('subscription', 'feed', 'id', $this->feed->id(), '#', 'slider'); } else { $get = Minz_Request::param('get'); if (!$get) { - $url = _url('subscription', 'feed', 'id', $this->feed->id(), 'from', $from); + $url = _url('subscription', 'feed', 'id', $this->feed->id(), 'from', $from, '#', 'slider'); } else { - $url = _url('subscription', 'feed', 'id', $this->feed->id(), 'from', $from, 'get', $get); + $url = _url('subscription', 'feed', 'id', $this->feed->id(), 'from', $from, 'get', $get, '#', 'slider'); } } ?> @@ -256,7 +256,7 @@
@@ -384,7 +384,7 @@
- +
@@ -491,7 +491,7 @@ + _url('feed', 'contentSelectorPreview', 'id', $this->feed->id(), 'selector', 'selector-token', '#slider') ?>">

@@ -589,13 +589,13 @@
-
+