mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 19:39:57 +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 data = this.sidebarData;
|
||||||
let newPos = [];
|
let newPos = [];
|
||||||
for (let element of this.__dragingElement.parentNode.children) {
|
for (let element of this.__dragingElement.parentNode.children) {
|
||||||
console.log(element);
|
|
||||||
let panelId = element.getAttribute('zen-sidebar-id');
|
let panelId = element.getAttribute('zen-sidebar-id');
|
||||||
newPos.push(panelId);
|
newPos.push(panelId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -239,12 +239,9 @@ var ZenWorkspaces = {
|
||||||
if (workspace.default) {
|
if (workspace.default) {
|
||||||
element.setAttribute('default', 'true');
|
element.setAttribute('default', 'true');
|
||||||
}
|
}
|
||||||
console.log(ContextualIdentityService.getPublicIdentities())
|
|
||||||
console.log(workspace)
|
|
||||||
const containerGroup = ContextualIdentityService.getPublicIdentities().find(
|
const containerGroup = ContextualIdentityService.getPublicIdentities().find(
|
||||||
(container) => container.userContextId === workspace.containerTabId
|
(container) => container.userContextId === workspace.containerTabId
|
||||||
);
|
);
|
||||||
console.log(containerGroup)
|
|
||||||
if (containerGroup) {
|
if (containerGroup) {
|
||||||
element.classList.add("identity-color-" + containerGroup.color);
|
element.classList.add("identity-color-" + containerGroup.color);
|
||||||
element.setAttribute("data-usercontextid", containerGroup.userContextId);
|
element.setAttribute("data-usercontextid", containerGroup.userContextId);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue