Bug 775336: mark the social sidebar browser as an app tab, so that untargeted links get opened in new tabs, r=gavin

This commit is contained in:
Shane Caraveo 2012-07-25 16:27:20 -07:00
Родитель a01da37e93
Коммит cb7da34504
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -378,6 +378,10 @@ var SocialToolbar = {
var SocialSidebar = {
// Called once, after window load, when the Social.provider object is initialized
init: function SocialSidebar_init() {
let sbrowser = document.getElementById("social-sidebar-browser");
// setting isAppTab causes clicks on untargeted links to open new tabs
sbrowser.docShell.isAppTab = true;
this.updateSidebar();
},