mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
4e940f330d
commit
5e7f7b302d
@ -108,8 +108,10 @@ function init() {
|
|||||||
function toplevel_layout() {
|
function toplevel_layout() {
|
||||||
var last = $(".toplevel li").last();
|
var last = $(".toplevel li").last();
|
||||||
var title = $('.toplevel h3').first();
|
var title = $('.toplevel h3').first();
|
||||||
var bottom = last.position().top + last.height() - title.position().top;
|
if (title && title.position()) {
|
||||||
$("#main").height(Math.max(200, bottom+75));
|
var bottom = last.position().top + last.height() - title.position().top;
|
||||||
|
$("#main").height(Math.max(200, bottom+75));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function toplevel() {
|
function toplevel() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user