From e6bcaa334ba4c1befe9e67284fa97805a8f56466 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. --- 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 63943ba..7f3cb6f 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.1.4