mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 960997 - Change the DOMWebNotificationClicked handler to use window.focus() instead of focusManager.activeWindow = window. r=dao
This commit is contained in:
parent
504f5ba6b9
commit
f8cdc97bed
@ -2982,8 +2982,7 @@
|
||||
if (!tab)
|
||||
return;
|
||||
this.selectedTab = tab;
|
||||
let focusManager = Cc["@mozilla.org/focus-manager;1"].getService(Ci.nsIFocusManager);
|
||||
focusManager.activeWindow = window;
|
||||
window.focus();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user