mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-08 01:45:08 +00:00
Monotone-Parent: a4d4cb6701df7335a105447a2db63f4f0b984b5e
Monotone-Revision: c0e690042905295d3b7946d9d917fcf8e91982ef Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-10-17T22:29:48 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -774,6 +774,9 @@ function popupSubmenu(event) {
|
||||
|
||||
var menuTop = (parentNode.offsetTop - 2
|
||||
+ this.offsetTop);
|
||||
if (window.innerHeight
|
||||
< (menuTop + submenuNode.offsetHeight))
|
||||
menuTop = window.innerHeight - submenuNode.offsetHeight - 3;
|
||||
var menuLeft = (parentNode.offsetLeft + parentNode.offsetWidth - 3);
|
||||
if (window.innerWidth
|
||||
< (menuLeft + submenuNode.offsetWidth))
|
||||
|
||||
Reference in New Issue
Block a user