Possible fix for #2003 (Calibre theme download icon broken)
This commit is contained in:
parent
a79600c81f
commit
aadd6fd7e0
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue