aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/settings2/keyboard-shortcuts-controller.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/bg/js/settings2/keyboard-shortcuts-controller.js b/ext/bg/js/settings2/keyboard-shortcuts-controller.js
index 43dd738e..ea6bd81c 100644
--- a/ext/bg/js/settings2/keyboard-shortcuts-controller.js
+++ b/ext/bg/js/settings2/keyboard-shortcuts-controller.js
@@ -330,6 +330,9 @@ class KeyboardShortcutHotkeyEntry {
}
}
if (changed) {
+ if (scopes.length === 0) {
+ scopes.push(...validScopes);
+ }
targets.push({
action: 'set',
path: `${this._basePath}.scopes`,