mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 03:15:30 +02:00
Rename 'zen-sidebar-bottom-wrapper' to 'zen-sidebar-bottom-buttons' for consistency in toolbar identification
This commit is contained in:
parent
638c7c7420
commit
baa4402a62
4 changed files with 10 additions and 10 deletions
|
@ -18,7 +18,7 @@ export var ZenCustomizableUI = new (class {
|
|||
true
|
||||
);
|
||||
CustomizableUIInternal.registerArea(
|
||||
'zen-sidebar-bottom-wrapper',
|
||||
'zen-sidebar-bottom-buttons',
|
||||
{
|
||||
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-bottom-wrapper');
|
||||
const wrapper = window.document.getElementById('zen-sidebar-bottom-buttons');
|
||||
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-bottom-wrapper'));
|
||||
window.CustomizableUI.registerToolbarNode(window.document.getElementById('zen-sidebar-bottom-buttons'));
|
||||
window.addEventListener(
|
||||
'DOMContentLoaded',
|
||||
() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue