mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 716447 - Remove setCapture/releaseCapture from touch.js as it interfere with mouse events r=vingtetun
This commit is contained in:
parent
12c791efaf
commit
fa4dd7c974
@ -86,7 +86,6 @@
|
||||
|
||||
this.target = evt.target;
|
||||
this.timestamp = evt.timeStamp;
|
||||
evt.target.setCapture(false);
|
||||
|
||||
preventMouseEvents = false;
|
||||
canPreventMouseEvents = true;
|
||||
@ -126,7 +125,6 @@
|
||||
debug('mouseup:');
|
||||
|
||||
window.clearTimeout(contextMenuTimeout);
|
||||
eventTarget.ownerDocument.releaseCapture();
|
||||
this.target = null;
|
||||
type = 'touchend';
|
||||
break;
|
||||
@ -136,7 +134,6 @@
|
||||
return;
|
||||
|
||||
window.clearTimeout(contextMenuTimeout);
|
||||
eventTarget.ownerDocument.releaseCapture();
|
||||
this.target = null;
|
||||
TouchEventHandler.stop();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user