argous 1.2.237 → 1.2.238
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils/index.js +0 -1
- package/lib/utils/index.ts +0 -1
- package/package.json +1 -1
package/dist/utils/index.js
CHANGED
|
@@ -387,7 +387,6 @@ var copyToClipboard = function (text) {
|
|
|
387
387
|
var textField = document.createElement('input');
|
|
388
388
|
textField.setAttribute('value', text);
|
|
389
389
|
document.body.appendChild(textField);
|
|
390
|
-
textField.focus();
|
|
391
390
|
textField.select();
|
|
392
391
|
textField.setSelectionRange(0, 99999);
|
|
393
392
|
document.execCommand('copy');
|
package/lib/utils/index.ts
CHANGED
|
@@ -308,7 +308,6 @@ export const copyToClipboard = (text: string) => {
|
|
|
308
308
|
const textField = document.createElement('input');
|
|
309
309
|
textField.setAttribute('value', text);
|
|
310
310
|
document.body.appendChild(textField);
|
|
311
|
-
textField.focus();
|
|
312
311
|
textField.select();
|
|
313
312
|
textField.setSelectionRange(0, 99999);
|
|
314
313
|
document.execCommand('copy');
|