1
0
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:
Kyle Spearrin
2017-11-06 14:16:06 -05:00
parent 942d98d798
commit 530ed94d3c
8 changed files with 881 additions and 4 deletions

View File

@@ -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.