mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 913949 - this.touchEventHandler is undefined. r=mratcliffe
This commit is contained in:
parent
1b68dc53a7
commit
9d894a803d
@ -234,9 +234,11 @@ ResponsiveUI.prototype = {
|
||||
onPageUnload: function() {
|
||||
if (this.closing)
|
||||
return;
|
||||
this.touchEnableBefore = this.touchEventHandler.enabled;
|
||||
this.disableTouch();
|
||||
delete this.touchEventHandler;
|
||||
if (this.touchEventHandler) {
|
||||
this.touchEnableBefore = this.touchEventHandler.enabled;
|
||||
this.disableTouch();
|
||||
delete this.touchEventHandler;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user