Commit aadd6fd7 authored by Ozzie Isaacs's avatar Ozzie Isaacs

Possible fix for #2003 (Calibre theme download icon broken)

parent a79600c8
......@@ -412,7 +412,7 @@ if($("body.advsearch").length > 0) {
$("#add-to-shelves").toggle();
});
$('#add-to-shelf').height("40px");
function dropdownToggle() {
function search_dropdownToggle() {
topPos = $("#add-to-shelf").offset().top-20;
if ($('div[aria-label="Add to shelves"]').length > 0) {
......@@ -428,10 +428,10 @@ if($("body.advsearch").length > 0) {
}
}
dropdownToggle();
search_dropdownToggle();
$(window).on("resize", function () {
dropdownToggle();
search_dropdownToggle();
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment