summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/clipboard-popups-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/settings/clipboard-popups-controller.js')
-rw-r--r--ext/bg/js/settings/clipboard-popups-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings/clipboard-popups-controller.js b/ext/bg/js/settings/clipboard-popups-controller.js
index 4737b0b7..cd1c2057 100644
--- a/ext/bg/js/settings/clipboard-popups-controller.js
+++ b/ext/bg/js/settings/clipboard-popups-controller.js
@@ -67,7 +67,7 @@ class ClipboardPopupsController {
this._setToggleValid(toggle, true);
- await this._settingsController.setProfileSetting('clipboard.enableBackgroundMonitor', value);
+ await this._settingsController.setProfileSetting(toggle.dataset.clipboardSetting, value);
}
_onPermissionsChanged({permissions: {permissions}}) {