mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-08 04:55:26 +00:00
See Changelog
Monotone-Parent: 0c176852c57ca5f012fd36464ced594b6ef6c9fb Monotone-Revision: f98db9e0d0c41fc50f243d8f21ff421712d14518 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-11-08T16:28:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -39,8 +39,10 @@ var SOGoDragHandlesInterface = {
|
||||
}
|
||||
}
|
||||
else if (this.dhType == 'vertical') {
|
||||
this.dhLimit = window.height() - 20 - this.upperBlock.cumulativeOffset()[1] + this.upperBlock.offsetTop;
|
||||
if (parseInt(this.getStyle("top")) > this.dhLimit) {
|
||||
var windowHeight = window.height();
|
||||
this.dhLimit = windowHeight - 20 - this.upperBlock.cumulativeOffset().top + this.upperBlock.offsetTop;
|
||||
if (parseInt(this.getStyle("top")) > this.dhLimit &&
|
||||
windowHeight > this.topMargin) {
|
||||
this.setStyle({ top: this.dhLimit + 'px' });
|
||||
this.lowerBlock.setStyle({ top: this.dhLimit + 'px' });
|
||||
this.upperBlock.setStyle({ height: (this.dhLimit - this.upperBlock.offsetTop) + 'px' });
|
||||
|
||||
Reference in New Issue
Block a user