mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 05:35:29 +02:00
Fixed updating keyboard shortcuts on settings
This commit is contained in:
parent
d8797fceb2
commit
c32c16d932
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,6 @@ var zenMissingKeyboardShortcutL10n = {
|
|||
|
||||
var gZenCKSSettings = {
|
||||
async init() {
|
||||
document.getElementById(ZEN_CKS_WRAPPER_ID).innerHTML = '';
|
||||
await this._initializeCKS();
|
||||
if (this.__hasInitialized) return;
|
||||
this.__hasInitialized = true;
|
||||
|
@ -699,6 +698,7 @@ var gZenCKSSettings = {
|
|||
|
||||
async _initializeCKS() {
|
||||
let wrapper = document.getElementById(ZEN_CKS_WRAPPER_ID);
|
||||
wrapper.innerHTML = '';
|
||||
|
||||
let shortcuts = await gZenKeyboardShortcutsManager.getModifiableShortcuts();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue