Fixed PGO builds not fully working

This commit is contained in:
mr. M
2024-12-21 13:32:03 +01:00
parent e0b125d762
commit c489a0b7cc
8 changed files with 19 additions and 32 deletions

View File

@@ -538,7 +538,7 @@ class ZenKeyboardShortcutsLoader {
} catch (e) {
// Recreate shortcuts file
Services.prefs.clearUserPref('zen.keyboard.shortcuts.version');
console.error('Error loading shortcuts file', e);
console.warn('Error loading shortcuts file', e);
return null;
}
}
@@ -557,7 +557,6 @@ function zenGetDefaultShortcuts() {
// For adding new default shortcuts, add them to inside the migration function
// and increment the version number.
console.info('Zen CKS: Loading default shortcuts...');
let keySet = document.getElementById(ZEN_MAIN_KEYSET_ID);
let newShortcutList = [];