From 9146e5f287b524dab51de7bf72cd4266eae8406a Mon Sep 17 00:00:00 2001 From: cbartondock Date: Sun, 7 Mar 2021 19:53:54 -0500 Subject: [PATCH] fixed advanced search mass add to shelves in caliblur --- cps/static/js/caliBlur.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cps/static/js/caliBlur.js b/cps/static/js/caliBlur.js index 7769a4ea..dab2a1c6 100644 --- a/cps/static/js/caliBlur.js +++ b/cps/static/js/caliBlur.js @@ -403,6 +403,14 @@ $("div.comments").readmore({ // End of Global Work // /////////////////////////////// +// Advanced Search Results +if($("body.advsearch").length > 0) { + $('div[aria-label="Add to shelves"]').click(function () { + $("#add-to-shelves").toggle(); + }); + $('#add-to-shelf').height("40px"); +} + // Author Page Background Blur if ($("body.author").length > 0) { cover = $(".author-bio img").attr("src");