mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 747792 - HasTouchListener notification should use the topmost window. r=kats
This commit is contained in:
parent
83449f6079
commit
37963d7cc9
@ -2579,7 +2579,7 @@ var BrowserEventHandler = {
|
||||
|
||||
observe: function(aSubject, aTopic, aData) {
|
||||
if (aTopic == "dom-touch-listener-added") {
|
||||
let tab = BrowserApp.getTabForWindow(aSubject);
|
||||
let tab = BrowserApp.getTabForWindow(aSubject.top);
|
||||
if (!tab)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user