mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
autofill service to ts
This commit is contained in:
@@ -325,7 +325,7 @@ export default class UtilsService {
|
||||
return UtilsService.getHostname(uriString);
|
||||
}
|
||||
|
||||
copyToClipboard(text: string, doc: Document) {
|
||||
copyToClipboard(text: string, doc?: Document) {
|
||||
doc = doc || document;
|
||||
if ((window as any).clipboardData && (window as any).clipboardData.setData) {
|
||||
// IE specific code path to prevent textarea being shown while dialog is visible.
|
||||
|
||||
Reference in New Issue
Block a user