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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user