mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 02:06:24 +02:00
Remove unused zen-avatars directory and associated files
This commit is contained in:
parent
a64adb6b16
commit
638c7c7420
222 changed files with 14 additions and 2081 deletions
|
@ -18,7 +18,7 @@ export var ZenCustomizableUI = new (class {
|
|||
true
|
||||
);
|
||||
CustomizableUIInternal.registerArea(
|
||||
'zen-sidebar-icons-wrapper',
|
||||
'zen-sidebar-bottom-wrapper',
|
||||
{
|
||||
type: this.TYPE_TOOLBAR,
|
||||
defaultPlacements: this.defaultSidebarIcons,
|
||||
|
@ -108,7 +108,7 @@ export var ZenCustomizableUI = new (class {
|
|||
}
|
||||
|
||||
_hideToolbarButtons(window) {
|
||||
const wrapper = window.document.getElementById('zen-sidebar-icons-wrapper');
|
||||
const wrapper = window.document.getElementById('zen-sidebar-bottom-wrapper');
|
||||
const elementsToHide = ['alltabs-button', 'new-tab-button'];
|
||||
for (let id of elementsToHide) {
|
||||
const elem = window.document.getElementById(id);
|
||||
|
@ -124,7 +124,7 @@ export var ZenCustomizableUI = new (class {
|
|||
|
||||
registerToolbarNodes(window) {
|
||||
window.CustomizableUI.registerToolbarNode(window.document.getElementById('zen-sidebar-top-buttons'));
|
||||
window.CustomizableUI.registerToolbarNode(window.document.getElementById('zen-sidebar-icons-wrapper'));
|
||||
window.CustomizableUI.registerToolbarNode(window.document.getElementById('zen-sidebar-bottom-wrapper'));
|
||||
window.addEventListener(
|
||||
'DOMContentLoaded',
|
||||
() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue