Bug 779054 - SocialAPI sidebar is added to chromehidden window on session restore. r=felipe

This commit is contained in:
Jared Wein 2012-10-03 23:59:32 -07:00
parent 866c32c47f
commit ac238e2df1

View File

@ -731,7 +731,7 @@ var SocialSidebar = {
get chromeless() {
let docElem = document.documentElement;
return docElem.getAttribute('disablechrome') ||
docElem.getAttribute('chromehidden').indexOf("extrachrome") >= 0;
docElem.getAttribute('chromehidden').contains("toolbar");
},
// Whether the user has toggled the sidebar on (for windows where it can appear)