feat: Hide new tab button along with all tabs button in customizable UI

This commit is contained in:
mr. M
2024-11-08 19:55:13 +01:00
parent f093228f71
commit d2746689f9
2 changed files with 4 additions and 12 deletions

View File

@@ -98,7 +98,7 @@ export var ZenCustomizableUI = new (class {
}
_hideToolbarButtons(window) {
const elementsToHide = ['alltabs-button'];
const elementsToHide = ['alltabs-button', 'new-tab-button'];
for (let id of elementsToHide) {
const elem = window.document.getElementById(id);
if (elem) {