mirror of
https://github.com/fruworg/themu.git
synced 2025-07-02 01:33:59 +03:00
copy
This commit is contained in:
@ -37,6 +37,6 @@ codeElements.forEach((highlightBlock) => {
|
|||||||
|
|
||||||
// Можно добавить визуальную обратную связь для пользователя, например, изменить стиль ::before
|
// Можно добавить визуальную обратную связь для пользователя, например, изменить стиль ::before
|
||||||
codeElement.style.setProperty('content', '"Скопировано в буфер обмена!"');
|
codeElement.style.setProperty('content', '"Скопировано в буфер обмена!"');
|
||||||
// setTimeout(() => codeElement.style.removeProperty('content'), 1000);
|
setTimeout(() => codeElement.style.removeProperty('content'), 1000);
|
||||||
});
|
});
|
||||||
});
|
});
|
Reference in New Issue
Block a user