mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 808001 - clicking a social notification link now opens the link in a new tab. r=gavin
This commit is contained in:
parent
7b074fb454
commit
5131a48af6
@ -112,7 +112,7 @@ WorkerAPI.prototype = {
|
||||
nUri.scheme = pUri.scheme;
|
||||
if (nUri.prePath == provider.origin) {
|
||||
let xulWindow = Services.wm.getMostRecentWindow("navigator:browser");
|
||||
xulWindow.openUILink(nUri.spec);
|
||||
xulWindow.openUILinkIn(nUri.spec, "tab");
|
||||
}
|
||||
} catch(e) {
|
||||
Cu.reportError("social.notification-create error: "+e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user