Merge branch 'zen-browser:main' into main

This commit is contained in:
Bryan Galdámez 2024-09-14 03:11:39 -06:00 committed by GitHub
commit 2d3844efc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,9 +101,7 @@ var ZenWorkspaces = {
} }
}, },
// Convert all the icons to just the first character, just in case someone _kIcons: JSON.parse(Services.prefs.getStringPref("zen.workspaces.icons")).map((icon) => icon),
// decides to use a string with more than one character
_kIcons: JSON.parse(Services.prefs.getStringPref("zen.workspaces.icons")).map((icon) => icon[0]),
_initializeWorkspaceCreationIcons() { _initializeWorkspaceCreationIcons() {
let container = document.getElementById('PanelUI-zen-workspaces-create-icons-container'); let container = document.getElementById('PanelUI-zen-workspaces-create-icons-container');