mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-11 20:36:47 +00:00
feat: Small tweaks for workspace creation form, b=closes #8974, c=common, tabs, workspaces
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user