From 780abfe877a0d172c9bfbeb169b18a8f6df488b4 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 21 Sep 2016 19:42:26 -0400 Subject: [PATCH] remove types from sweet alerts so we don't have an icon --- src/popup/app/settings/settingsController.js | 4 ---- src/popup/app/tools/toolsController.js | 1 - src/popup/app/vault/vaultEditSiteController.js | 1 - 3 files changed, 6 deletions(-) diff --git a/src/popup/app/settings/settingsController.js b/src/popup/app/settings/settingsController.js index ad00cfb2..bfa2f73e 100644 --- a/src/popup/app/settings/settingsController.js +++ b/src/popup/app/settings/settingsController.js @@ -6,7 +6,6 @@ SweetAlert.swal({ title: 'Log Out', text: 'Are you sure you want to log out?', - type: 'warning', showCancelButton: true, confirmButtonText: 'Yes', cancelButtonText: 'Cancel' @@ -23,7 +22,6 @@ SweetAlert.swal({ title: 'Change Master Password', text: 'You can change your master password on the bitwarden.com web vault. Do you want to visit the website now?', - type: 'info', showCancelButton: true, confirmButtonText: 'Yes', cancelButtonText: 'Cancel' @@ -34,7 +32,6 @@ SweetAlert.swal({ title: 'Change Email', text: 'You can change your email address on the bitwarden.com web vault. Do you want to visit the website now?', - type: 'info', showCancelButton: true, confirmButtonText: 'Yes', cancelButtonText: 'Cancel' @@ -45,7 +42,6 @@ SweetAlert.swal({ title: 'Two-step Login', text: 'Two-step login makes your account more secure by requiring you to enter a security code from an authenticator app whenever you log in. Two-step login can be enabled on the bitwarden.com web vault. Do you want to visit the website now?', - type: 'info', showCancelButton: true, confirmButtonText: 'Yes', cancelButtonText: 'Cancel' diff --git a/src/popup/app/tools/toolsController.js b/src/popup/app/tools/toolsController.js index a48fe160..e6a46152 100644 --- a/src/popup/app/tools/toolsController.js +++ b/src/popup/app/tools/toolsController.js @@ -18,7 +18,6 @@ SweetAlert.swal({ title: 'Import Logins', text: 'You can bulk import logins from the bitwarden.com web vault. Do you want to visit the website now?', - type: 'info', showCancelButton: true, confirmButtonText: 'Yes', cancelButtonText: 'Cancel' diff --git a/src/popup/app/vault/vaultEditSiteController.js b/src/popup/app/vault/vaultEditSiteController.js index 9006360d..7a20599f 100644 --- a/src/popup/app/vault/vaultEditSiteController.js +++ b/src/popup/app/vault/vaultEditSiteController.js @@ -62,7 +62,6 @@ angular SweetAlert.swal({ title: 'Warning', text: 'Are you sure you want to overwrite the current password?', - type: 'warning', showCancelButton: true, confirmButtonText: 'Yes', cancelButtonText: 'No'