No 'hidden' needed for hiding the label and the icon in the tab
This commit is contained in:
parent
46d688196d
commit
c565058d2b
2 changed files with 1 additions and 3 deletions
2
index.js
2
index.js
|
@ -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);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "testpilot-containers",
|
||||
"title": "Containers Experiment",
|
||||
"description": "Containers works by isolating cookie jars using separate origin-attributes defined visually by colored ‘Container Tabs’. This add-on is a modified version of the containers feature for Firefox Test Pilot.",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"author": "Andrea Marchesini, Luke Crouch and Jonathan Kingston",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mozilla/testpilot-containers/issues"
|
||||
|
|
Loading…
Add table
Reference in a new issue