mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 13:45:32 +02:00
Refactor ZenWorkspaces.mjs to remove unnecessary attribute in workspace creation
This commit is contained in:
parent
5d631354e5
commit
078e617cc8
1 changed files with 0 additions and 1 deletions
|
@ -276,7 +276,6 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||
this._workspaceCreateInput.textContent = '';
|
||||
this._workspaceCreateInput.value = '';
|
||||
this._workspaceCreateInput.setAttribute('data-initial-value', '');
|
||||
this._workspaceCreateIconsContainer.setAttribute('data-initial-value', icon);
|
||||
document.querySelectorAll('#PanelUI-zen-workspaces-icon-picker-wrapper toolbarbutton').forEach((button) => {
|
||||
if (button.label === icon) {
|
||||
button.setAttribute('selected', 'true');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue