1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-10 02:06:24 +02:00

feat: Small tweaks for workspace creation form, b=closes #8974, c=common, tabs, workspaces

This commit is contained in:
Mr. M 2025-06-11 21:28:01 +02:00
parent 7bf0b42afd
commit 4da5a40419
No known key found for this signature in database
GPG key ID: 6292C4C8F8652B18
9 changed files with 48 additions and 31 deletions

View file

@ -107,6 +107,9 @@ export var ZenCustomizableUI = new (class {
_initCreateNewButton(window) {
const button = window.document.getElementById('zen-create-new-button');
button.addEventListener('command', () => {
if (button.hasAttribute('open')) {
return;
}
const image = button.querySelector('image');
const popup = window.document.getElementById('zenCreateNewPopup');
button.setAttribute('open', 'true');