From 3dfdb7593d60c00a5cd63dfe485982d2849d400a Mon Sep 17 00:00:00 2001 From: baku Date: Tue, 28 Feb 2017 19:05:55 +0100 Subject: [PATCH] No 'hidden' needed for hiding the label and the icon in the tab --- index.js | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index 9f01173..52cfcec 100644 --- a/index.js +++ b/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); diff --git a/package.json b/package.json index c0b48e9..4956e1b 100644 --- a/package.json +++ b/package.json @@ -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"