summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/settings-profiles.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/bg/js/settings-profiles.js b/ext/bg/js/settings-profiles.js
index 6e0e9953..6ff9dda5 100644
--- a/ext/bg/js/settings-profiles.js
+++ b/ext/bg/js/settings-profiles.js
@@ -173,7 +173,11 @@ async function onProfileAdd() {
await apiOptionsSave();
}
-async function onProfileRemove() {
+async function onProfileRemove(e) {
+ if (e.shiftKey) {
+ return await onProfileRemoveConfirm();
+ }
+
const optionsFull = await apiOptionsGetFull();
if (optionsFull.profiles.length <= 1) {
return;