mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
misc fixes
This commit is contained in:
@@ -80,7 +80,9 @@
|
||||
cancelButtonText: i18nService.cancel
|
||||
}, function (confirmed) {
|
||||
$analytics.eventTrack('Clicked Change Password');
|
||||
alertCallback(confirmed);
|
||||
if (confirmed) {
|
||||
chrome.tabs.create({ url: 'https://help.bitwarden.com/article/change-your-master-password/' });
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -93,7 +95,9 @@
|
||||
cancelButtonText: i18nService.cancel
|
||||
}, function (confirmed) {
|
||||
$analytics.eventTrack('Clicked Change Email');
|
||||
alertCallback(confirmed);
|
||||
if (confirmed) {
|
||||
chrome.tabs.create({ url: 'https://help.bitwarden.com/article/change-your-email/' });
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -106,16 +110,12 @@
|
||||
cancelButtonText: i18nService.cancel
|
||||
}, function (confirmed) {
|
||||
$analytics.eventTrack('Clicked Two-step Login');
|
||||
alertCallback(confirmed);
|
||||
if (confirmed) {
|
||||
chrome.tabs.create({ url: 'https://help.bitwarden.com/article/setup-two-step-login/' });
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
function alertCallback(confirmed) {
|
||||
if (confirmed) {
|
||||
chrome.tabs.create({ url: 'https://vault.bitwarden.com' });
|
||||
}
|
||||
}
|
||||
|
||||
$scope.rate = function () {
|
||||
$analytics.eventTrack('Rate Extension');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user