Bug 747792 - HasTouchListener notification should use the topmost window. r=kats

This commit is contained in:
Wes Johnston 2012-05-04 14:38:43 -07:00
parent 83449f6079
commit 37963d7cc9

View File

@ -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;