From 027f01e0c8ef05c23151085da33137be77faa05b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 19 Mar 2019 15:46:42 +0000 Subject: [PATCH] Bug 21304: (follow-up) Correct hc-sticky configuration This patch corrects the element passed to the hc-sticky plugin to define which element the floating toolbar sticks to. To test, apply the patch and perform a search in the staff client which will return multiple results. Confirm that scrolling down the page triggers the floating toolbar. Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 63943baf1d..7f3cb6f3e4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -665,7 +665,7 @@ $(document).ready(function() { Sticky = $("#searchheader"); Sticky.hcSticky({ - stickTo: "#yui-main", + stickTo: "main", stickyClass: "floating" }); -- 2.39.5