mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-27 22:35:22 +00:00
See ChangeLog
Monotone-Parent: eb98680a91c477e61143b911e53baa32fc0a1132 Monotone-Revision: 9aa2e2439f6636863018e6b98de93e587d01e89d Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-06-03T16:05:25 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -2147,6 +2147,7 @@ function generateMenuForMailbox(mailbox, prefix, callback) {
|
||||
var newNode;
|
||||
for (var i = 0; i < mailbox.children.length; i++) {
|
||||
if (menu.offsetHeight > windowHeight-offset) {
|
||||
// Split menu to fit screen
|
||||
var menuWidth = (parseInt(menu.offsetWidth) + 15) + "px";
|
||||
menu.style.width = menuWidth;
|
||||
menu = document.createElement("ul");
|
||||
|
||||
Reference in New Issue
Block a user