mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-23 06:38:40 +02:00
Ticket #33
This commit is contained in:
+2
-7
@@ -210,15 +210,10 @@ confirmation = function(question, action, callback) {
|
||||
setDivHeight = function(id, extrah, modulo) {
|
||||
var contentsize = $(document.body).getSize().y
|
||||
- $("topmenubar").getSize().y
|
||||
- $("header").getSize().y
|
||||
- $("header").getSize().y
|
||||
- $("footer").getSize().y
|
||||
- extrah;
|
||||
|
||||
if ($("navbar")) {
|
||||
contentsize -= $("navbar").getSize().y;
|
||||
}
|
||||
if ($("thead")) {
|
||||
contentsize -= $("thead").getSize().y;
|
||||
}
|
||||
if (modulo) {
|
||||
contentsize -= contentsize % modulo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user