refactor: Update ZenKeyboardShortcuts to toggle web panels and improve shortcuts

Remove unnecessary console.log statement in ZenThemeBuilder
Disable Firefox shortcuts in ZenKeyboardShortcuts
Initialize shortcuts only on the browser page
Update ZenProfileDialogUI to improve profiles list and profile creation
Remove unnecessary code in ZenWorkspaces.mjs
Activate docShell for tab in ZenViewSplitter
Remove redundant code in ZenViewSplitter
This commit is contained in:
Mauro Balades 2024-08-10 10:52:53 +02:00
parent 3f80eea589
commit 714a4428ef
4 changed files with 29 additions and 14 deletions

View file

@ -422,7 +422,7 @@ var gZenViewSplitter = new class {
// see browser-custom-elements.js's patch
tab.linkedBrowser.zenModeActive = active;
try {
console.log(tab.linkedBrowser);
console.info(tab.linkedBrowser);
tab.linkedBrowser.docShellIsActive = active;
} catch (e) {
console.error(e);