mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 961519 - Prevent touch event mode to be disable on iframes unload. r=paul
This commit is contained in:
parent
cf0357fd3d
commit
d6048e3229
@ -238,7 +238,10 @@ ResponsiveUI.prototype = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onPageUnload: function() {
|
onPageUnload: function(evt) {
|
||||||
|
// Ignore sub frames unload events
|
||||||
|
if (evt.target != this.browser.contentDocument)
|
||||||
|
return;
|
||||||
if (this.closing)
|
if (this.closing)
|
||||||
return;
|
return;
|
||||||
if (this.touchEventHandler) {
|
if (this.touchEventHandler) {
|
||||||
|
Loading…
Reference in New Issue
Block a user