From 47f16862d0d55ccf9755075741c85d9e6e662e73 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 4 Feb 2021 21:12:32 -0500 Subject: Fix incorrect clipboard setting target (#1346) --- ext/bg/js/settings/clipboard-popups-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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}}) { -- cgit v1.2.3