1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-27 13:28:04 +00:00

fix #2014 (User menu dropdown in caliblur is tiny and presents scrollbars)

Fix display of nonexistent series_index
Fix caliblur add-to-shelf
This commit is contained in:
Ozzie Isaacs
2021-07-11 13:15:13 +02:00
parent aae81c3d24
commit 15ec6bec95
3 changed files with 6 additions and 2 deletions

View File

@@ -413,7 +413,11 @@ if($("body.advsearch").length > 0) {
});
$('#add-to-shelf').height("40px");
function search_dropdownToggle() {
topPos = $("#add-to-shelf").offset().top-20;
if( $("#add-to-shelf").length) {
topPos = $("#add-to-shelf").offset().top - 20;
} else {
topPos = 0
}
if ($('div[aria-label="Add to shelves"]').length > 0) {
position = $('div[aria-label="Add to shelves"]').offset().left