mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-29 06:28:39 +00:00
Refactor ZenStartup to update default placements for sidebar buttons and improve sidebar buttons customization
This commit is contained in:
@@ -202,11 +202,11 @@
|
||||
const defaultSidebarIcons = [
|
||||
'zen-sidepanel-button',
|
||||
'zen-workspaces-button',
|
||||
'vertical-tabs-newtab-button'
|
||||
'new-tab-button'
|
||||
];
|
||||
for (let id of defaultSidebarIcons) {
|
||||
if (id === 'zen-workspaces-button') continue;
|
||||
const elem = document.getElementById(id);
|
||||
if (id === 'zen-workspaces-button' || !elem) continue;
|
||||
elem.setAttribute('removable', 'true');
|
||||
}
|
||||
CustomizableUI.registerArea(
|
||||
|
Reference in New Issue
Block a user