removed the non-functional checkbox

This commit is contained in:
triptishukla 2019-10-19 00:10:48 +05:30
parent a4c578adde
commit 5c07209ace
2 changed files with 8 additions and 3 deletions

View file

@ -615,8 +615,14 @@ Logic.registerPanel(P_CONTAINERS_LIST, {
currentPage.prepend(favIconElement); currentPage.prepend(favIconElement);
const currentContainer = document.getElementById("current-container"); const currentContainer = document.getElementById("current-container");
const DefaultText =document.getElementById("default-text");
const DefaultBox =document.getElementById("container-page-assigned");
currentContainer.innerText = identity.name; currentContainer.innerText = identity.name;
if (currentContainer.innerText === "Default"){
DefaultBox.style.display="none";
DefaultText.style.display="none";
currentContainer.style.display="none";
}
currentContainer.setAttribute("data-identity-color", identity.color); currentContainer.setAttribute("data-identity-color", identity.color);
} }
}, },

View file

@ -3,7 +3,6 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Multi-Account Containers</title> <title>Multi-Account Containers</title>
<link rel="stylesheet" href="css/popup.css"> <link rel="stylesheet" href="css/popup.css">
</head> </head>
<body> <body>
@ -101,7 +100,7 @@
<div id="current-page"></div> <div id="current-page"></div>
<label for="container-page-assigned"> <label for="container-page-assigned">
<input type="checkbox" id="container-page-assigned" /> <input type="checkbox" id="container-page-assigned" />
<span class="truncate-text"> <span class="truncate-text" id="default-text">
Always open in Always open in
<span id="current-container"></span> <span id="current-container"></span>
</span> </span>