1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

fix copying

This commit is contained in:
Kyle Spearrin
2018-08-17 12:25:09 -04:00
parent 1627ab4c65
commit c713088a22
2 changed files with 3 additions and 3 deletions

2
jslib

Submodule jslib updated: 1f9fbe43d7...bf9a9c5f9f

View File

@@ -208,8 +208,8 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
copyToClipboard(text: string, options?: any): void {
let win = window;
let doc = window.document;
if (options && options.window) {
win = options.window;
if (options && (options.window || options.win)) {
win = options.window || options.win;
doc = win.document;
} else if (options && options.doc) {
doc = options.doc;