mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 961519 - Prevent touch event mode to be disable on iframes unload. r=paul
This commit is contained in:
parent
a778a5c39c
commit
2061b3d4f4
@ -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)
|
||||
return;
|
||||
if (this.touchEventHandler) {
|
||||
|
Loading…
Reference in New Issue
Block a user