mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-24 18:56:24 +00:00
Monotone-Parent: 0fe27b5739f7397e525075ec4060c837ba896b62
Monotone-Revision: 6ec3d89faf4dd3116bfe7668a1494fb12b8c024f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-09T23:11:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -37,14 +37,14 @@ HTMLTableElement.prototype.workAroundDragGesture = function() {
|
||||
|
||||
HTMLTableElement.prototype._dragGestureMouseDownHandler = function(event) {
|
||||
this.addEventListener("mousemove", this._dragGestureMouseMoveHandler, false);
|
||||
this.addEventListener("mousedown", this._dragGestureMouseUpHandler, false);
|
||||
this.addEventListener("mouseup", this._dragGestureMouseUpHandler, false);
|
||||
this._dragGestureStartPoint = new Array(event.clientX, event.clientY);
|
||||
this._dragGestureTarget = event.target;
|
||||
}
|
||||
|
||||
HTMLTableElement.prototype._dragGestureMouseUpHandler = function(event) {
|
||||
this.removeEventListener("mousemove", this._dragGestureMouseMoveHandler, false);
|
||||
this.removeEventListener("mousedown", this._dragGestureMouseUpHandler, false);
|
||||
this.removeEventListener("mouseup", this._dragGestureMouseUpHandler, false);
|
||||
this._dragGestureStartPoint = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user