зеркало из https://github.com/mozilla/gecko-dev.git
Bug 777923: untargeted social panel links should open in new tabs, r=mixedpuppy
--HG-- extra : transplant_source : %D4%A00%83%E50%C4O8%A3%1CV%09%B6%8EW%A5P%F1%B3
This commit is contained in:
Родитель
5af6ddcfe6
Коммит
8c5d2aa7c6
|
@ -253,6 +253,9 @@ var SocialToolbar = {
|
||||||
init: function SocialToolbar_init() {
|
init: function SocialToolbar_init() {
|
||||||
document.getElementById("social-provider-image").setAttribute("image", Social.provider.iconURL);
|
document.getElementById("social-provider-image").setAttribute("image", Social.provider.iconURL);
|
||||||
|
|
||||||
|
let notifBrowser = document.getElementById("social-notification-browser");
|
||||||
|
notifBrowser.docShell.isAppTab = true;
|
||||||
|
|
||||||
let removeItem = document.getElementById("social-remove-menuitem");
|
let removeItem = document.getElementById("social-remove-menuitem");
|
||||||
let brandShortName = document.getElementById("bundle_brand").getString("brandShortName");
|
let brandShortName = document.getElementById("bundle_brand").getString("brandShortName");
|
||||||
let label = gNavigatorBundle.getFormattedString("social.remove.label",
|
let label = gNavigatorBundle.getFormattedString("social.remove.label",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче