mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
pass window doc to copy function
This commit is contained in:
@@ -52,7 +52,7 @@ export class ActionButtonsComponent {
|
||||
}
|
||||
|
||||
this.analytics.eventTrack.next({ action: 'Copied ' + aType });
|
||||
this.platformUtilsService.copyToClipboard(value);
|
||||
this.platformUtilsService.copyToClipboard(value, { doc: window.document });
|
||||
this.toasterService.popAsync('info', null,
|
||||
this.i18nService.t('valueCopied', this.i18nService.t(typeI18nKey)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user