mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 21:29:59 +02:00
Refactor ZenWorkspaces.mjs to preserve full icons instead of just the first character
This commit is contained in:
parent
cc4601f0e1
commit
d0f32a6ee8
1 changed files with 1 additions and 3 deletions
|
@ -101,9 +101,7 @@ var ZenWorkspaces = {
|
|||
}
|
||||
},
|
||||
|
||||
// Convert all the icons to just the first character, just in case someone
|
||||
// decides to use a string with more than one character
|
||||
_kIcons: JSON.parse(Services.prefs.getStringPref("zen.workspaces.icons")).map((icon) => icon[0]),
|
||||
_kIcons: JSON.parse(Services.prefs.getStringPref("zen.workspaces.icons")).map((icon) => icon),
|
||||
|
||||
_initializeWorkspaceCreationIcons() {
|
||||
let container = document.getElementById('PanelUI-zen-workspaces-create-icons-container');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue