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