mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 22:09:59 +02:00
Refactor ZenSidebarManager.mjs to remove console.log statement
Refactor ZenWorkspaces.mjs to remove console.log statements
This commit is contained in:
parent
c9c5c94e8d
commit
89f28b307d
2 changed files with 0 additions and 4 deletions
|
@ -304,7 +304,6 @@ var gZenBrowserManagerSidebar = {
|
|||
let data = this.sidebarData;
|
||||
let newPos = [];
|
||||
for (let element of this.__dragingElement.parentNode.children) {
|
||||
console.log(element);
|
||||
let panelId = element.getAttribute('zen-sidebar-id');
|
||||
newPos.push(panelId);
|
||||
}
|
||||
|
|
|
@ -239,12 +239,9 @@ var ZenWorkspaces = {
|
|||
if (workspace.default) {
|
||||
element.setAttribute('default', 'true');
|
||||
}
|
||||
console.log(ContextualIdentityService.getPublicIdentities())
|
||||
console.log(workspace)
|
||||
const containerGroup = ContextualIdentityService.getPublicIdentities().find(
|
||||
(container) => container.userContextId === workspace.containerTabId
|
||||
);
|
||||
console.log(containerGroup)
|
||||
if (containerGroup) {
|
||||
element.classList.add("identity-color-" + containerGroup.color);
|
||||
element.setAttribute("data-usercontextid", containerGroup.userContextId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue