refac
This commit is contained in:
@@ -520,7 +520,7 @@ export const copyToClipboard = async (text, html = null, formatted = false) => {
|
|||||||
textArea.style.position = 'fixed';
|
textArea.style.position = 'fixed';
|
||||||
|
|
||||||
document.body.appendChild(textArea);
|
document.body.appendChild(textArea);
|
||||||
textArea.focus();
|
textArea.focus({ preventScroll: true });
|
||||||
textArea.select();
|
textArea.select();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user