1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

action buttons component

This commit is contained in:
Kyle Spearrin
2017-10-16 14:45:47 -04:00
parent 276be2fa87
commit ad285a7605
14 changed files with 199 additions and 198 deletions

View File

@@ -111,9 +111,9 @@ angular
return masked;
};
$scope.clipboardSuccess = function (e, type) {
$scope.clipboardSuccess = function (e, type, aType) {
e.clearSelection();
$analytics.eventTrack('Copied ' + (type === i18nService.username ? 'Username' : 'Password'));
$analytics.eventTrack('Copied ' + aType);
toastr.info(type + i18nService.valueCopied);
};