mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-07 05:43:21 +00:00
Merge pull request #4187 from zabojeb/feature/non-flag-icons
Make workspaces icons randomly select only non-flag emojis
This commit is contained in:
@@ -618,7 +618,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
let parentPanel = document.getElementById('PanelUI-zen-workspaces-multiview');
|
||||
|
||||
// randomly select an icon
|
||||
let icon = this.emojis[Math.floor(Math.random() * this.emojis.length)][0];
|
||||
let icon = this.emojis[Math.floor(Math.random() * (this.emojis.length - 257))][0];
|
||||
this._workspaceCreateInput.textContent = '';
|
||||
this._workspaceCreateInput.value = '';
|
||||
this._workspaceCreateInput.setAttribute('data-initial-value', '');
|
||||
|
||||
Reference in New Issue
Block a user