mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-12 11:55:09 +00:00
Monotone-Parent: ec22eec31a634d17211dbfb68bdc49ab1baca4aa
Monotone-Revision: 0fe27b5739f7397e525075ec4060c837ba896b62 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-09T22:55:04 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -33,14 +33,14 @@ var SOGoDragHandlesInterface = {
|
||||
} else if (this.dhType == 'vertical') {
|
||||
this.origY = this.offsetTop;
|
||||
this.origUpper = this.upperBlock.offsetHeight;
|
||||
delta = event.clientY - this.offsetTop;
|
||||
delta = event.clientY - this.offsetTop - 5;
|
||||
this.origLower = this.lowerBlock.offsetTop - 5;
|
||||
document.body.style.cursor = "n-resize";
|
||||
}
|
||||
|
||||
document._currentDragHandle = this;
|
||||
document.addEventListener('mouseup', this.documentStopHandleDragging, true);
|
||||
document.addEventListener('mousemove', this.documentMove, true);
|
||||
document.addEventListener("mouseup", this.documentStopHandleDragging, true);
|
||||
document.addEventListener("mousemove", this.documentMove, true);
|
||||
this.move(event);
|
||||
event.cancelBubble = true;
|
||||
}
|
||||
@@ -70,8 +70,8 @@ var SOGoDragHandlesInterface = {
|
||||
this.upperBlock.style.height = (this.origUpper + deltaY - delta) + 'px;';
|
||||
}
|
||||
|
||||
document.removeEventListener('mouseup', this.documentStopHandleDragging, true);
|
||||
document.removeEventListener('mousemove', this.documentMove, true);
|
||||
document.removeEventListener("mouseup", this.documentStopHandleDragging, true);
|
||||
document.removeEventListener("mousemove", this.documentMove, true);
|
||||
document.body.setAttribute('style', '');
|
||||
|
||||
this.move(event);
|
||||
|
||||
Reference in New Issue
Block a user