mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 18:15:30 +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 = {
|
var gZenCKSSettings = {
|
||||||
async init() {
|
async init() {
|
||||||
document.getElementById(ZEN_CKS_WRAPPER_ID).innerHTML = '';
|
|
||||||
await this._initializeCKS();
|
await this._initializeCKS();
|
||||||
if (this.__hasInitialized) return;
|
if (this.__hasInitialized) return;
|
||||||
this.__hasInitialized = true;
|
this.__hasInitialized = true;
|
||||||
|
@ -699,6 +698,7 @@ var gZenCKSSettings = {
|
||||||
|
|
||||||
async _initializeCKS() {
|
async _initializeCKS() {
|
||||||
let wrapper = document.getElementById(ZEN_CKS_WRAPPER_ID);
|
let wrapper = document.getElementById(ZEN_CKS_WRAPPER_ID);
|
||||||
|
wrapper.innerHTML = '';
|
||||||
|
|
||||||
let shortcuts = await gZenKeyboardShortcutsManager.getModifiableShortcuts();
|
let shortcuts = await gZenKeyboardShortcutsManager.getModifiableShortcuts();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue