mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 01:55:40 +00:00
add-data rendering & clipboard takes element
This commit is contained in:
@@ -28,7 +28,7 @@ const index = () => {
|
||||
document.querySelector(`.${SECRET_COPY_ICON}`)
|
||||
);
|
||||
const writeText = secretElement.dataset.secret;
|
||||
new CopyIcon(writeText, SECRET_COPY_ICON, SECRET_COPY_DONE_ICON);
|
||||
new CopyIcon(writeText, secretElement, SECRET_COPY_DONE_ICON);
|
||||
};
|
||||
|
||||
export default index;
|
||||
|
||||
Reference in New Issue
Block a user