aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-04 21:12:32 -0500
committerGitHub <noreply@github.com>2021-02-04 21:12:32 -0500
commit47f16862d0d55ccf9755075741c85d9e6e662e73 (patch)
tree08ff909b3e7e1a4788260ad1437872f4f7ea685a /ext
parent6c9f4a2be98012e791485dadb7078c16cb8d063c (diff)
Fix incorrect clipboard setting target (#1346)
Diffstat (limited to 'ext')
-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}}) {