No 'hidden' needed for hiding the label and the icon in the tab

This commit is contained in:
baku
2017-02-28 19:05:55 +01:00
parent 46d688196d
commit c565058d2b
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -992,12 +992,10 @@ const ContainerService = {
if (!identity) {
hbox.setAttribute("data-identity-color", "");
hbox.hidden = true;
return;
}
hbox.setAttribute("data-identity-color", identity.color);
hbox.hidden = false;
const label = viewFor(tab.window).document.getElementById("userContext-label");
label.setAttribute("value", identity.name);